iPhoneNumberField
iPhoneNumberField copied to clipboard
Elegant SwiftUI phone number textField.
``` CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'iPhoneNumberField' from project 'iPhoneNumberField') ``` ``` Command CompileSwiftSources failed with a nonzero exit code ```
iOS 14 & 15 working correctly, but on iOS 13 We keep getting ``` Fatal error: Accessing State outside View.body: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Monoceros_Sim/Monoceros-24.4/Core/State.swift, line 44 ``` Xcode complaining about this line...
It's working fine with the simulator but it's not formatting the number on real device. I am testing on iPhone 12 pro. Here is my source code. [PhoneView.swift.zip](https://github.com/MojtabaHs/iPhoneNumberField/files/6907849/PhoneView.swift.zip) iPhoneNumberField("(000) 000-0000",...
When I add` .autofillPrefix(true)` I got this error > Modifying state during view update, this will cause undefined behavior
Hello! Thanks for this awesome library. I would like to know how the above Warning can be fixed. XCode highlights the line `isFirstResponder.wrappedValue = true` inside these two functions: ```...
When I enter a really long phone number into the iPhoneNumberField, it causes the field to extend off the screen: I looked into this issue, and there's an easy fix...
If I set correct phone for country 1, and then try changing the country by selecting a different country from a picker, the newly selected country does not show (flag...
Nothing happening when selecting a country (flag) in the modal
The flag feature is nice, but what's the point if we don't know the country code ? Please add a Callback so when user chooses a flag and adds the...