How to differentiate two phone number views in the delegate methods?
ArigarasuthanRepo opened this issue · 1 comments
ArigarasuthanRepo commented
I have two phone numbers of views in my app. I want to differentiate which phone number view is user typing in the delegate methods like below text field delegate methods
func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
if(textField == firsttextfield)
{
return true
}
return true
}
jayelzaghmoutt commented
@ArigarasuthanRepo We added phoneNumberView in the delegates as follow:
func phoneNumberView(didChangeText nationalNumber: String, country: JNCountry, forPhoneNumberView phoneNumberView: JNPhoneNumberView)