Comments (2)
I use the following code to get the dial code :
txtPhoneNumber.code
Is there is a way to get phone number without the dial code ?
Currently, I am counting the number of index in dial code and remove it from the txtPhoneNumber.phoneNumber
from nkvphonepicker.
There are no specific var for this, because you can get it yourself.
You would need something like:
let onlyNumber = phoneNumber!.dropFirst(phoneNumber!.count)
from nkvphonepicker.
Related Issues (20)
- Could not build Objective-C module 'NKVPhonePicker' HOT 4
- Appcenter.ms: Illegal character '?' NKVPhonePicker/Sources/Bundle/Countries.bundle/Images/?.png HOT 2
- NKVPhonePickerTextField.swift twice in project HOT 2
- Swift 4.2 HOT 1
- How to customize NKVFlagView ? HOT 5
- How to open NKVFlagView when user click on textField HOT 1
- Keeping getting crash in NKVPhonePickerPresenter class on textField.flagView.setFlag(with: source) HOT 2
- PlaceHolder not shown HOT 13
- Who needs a carthage support? HOT 1
- Use as independent view HOT 1
- Same country codes change conuntry flag HOT 2
- Swift Package Manager support HOT 1
- How can I use UITextFiledDelegate Methods like Should change characters with nkvtextfields HOT 1
- Plus Symbol is not centre for country code HOT 1
- RLT Support ? HOT 1
- Error: 'inset(by:)' has been renamed to 'UIEdgeInsetsInsetRect(_:_:)'
- How can validate the phone number with country code? HOT 1
- Provide a way to disable the phone formatting calls within the library; formatting functions are broken
- Dark Mode Support HOT 1
- SPM - Crash when presenting CountriesViewController
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nkvphonepicker.