Please report, if the above results are different from this iOS library.
Otherwise, please create issue to following link below to request additional telephone numbers formatting rule.
https://github.com/google/libphonenumber/issues
Metadata in this library was generated from that. so, you should change it first. :)
libPhoneNumber for iOS
Update Log
https://github.com/iziz/libPhoneNumber-iOS/wiki/Update-Log
Issue
You can check phone number validation using below link. https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html
Please report, if the above results are different from this iOS library. Otherwise, please create issue to following link below to request additional telephone numbers formatting rule. https://github.com/google/libphonenumber/issues
Metadata in this library was generated from that. so, you should change it first. :)
Install
Using CocoaPods
Installing libPhoneNumber Geocoding Features
Using Carthage
Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.
You can install Carthage with Homebrew using the following command:
To integrate libPhoneNumber into your Xcode project using Carthage, specify it in your
Cartfile
:And set the Embedded Content Contains Swift to “Yes” in your build settings.
Setting up manually
Add source files to your projects from libPhoneNumber - Add “Contacts.framework”
See sample test code from
Usage - NBPhoneNumberUtil
Output
with Swift
Case (1) with Framework
Case (2) with Bridging-Header
Case (3) with CocoaPods
import libPhoneNumber_iOS
- in swift class file
2.x
Usage - NBAsYouTypeFormatter
libPhoneNumberGeocoding
For more information on libPhoneNumberGeocoding and its usage, please visit libPhoneNumberGeocoding for more information.
libPhoneNumberShortNumber
For more information on libPhoneNumberShortNumber and its usage, please visit libPhoneNumberShortNumber for more information.
Visit libphonenumber for more information or mail (zen.isis@gmail.com)