Posts

Post not yet marked as solved
1 Replies
540 Views
I have form fields in an app, I have some validations to perform like phone number should only have digits and not alphabets, however when user uses AutoFill option doing long press on textfield they have option to choose Contacts and they can tap on name and it will paste alphabets in my Phone number field, that behavior I don't want as my validations will not be fulfilled. There are no callbacks to detect and prevent that text from being pasted. In shouldChangeCharactersIn delegate method even if I return false for that paste event it ignores that and forcefully it gets pasted. Please help how to tackle such scenarios to perform above mentioned validations. Thanks
Posted Last updated
.
Post not yet marked as solved
4 Replies
1.4k Views
I am using CTTelephonyNetworkInfo api to fetch MNC, MCC and Carrier name. MCC code is being populated as expected, however MNC and Carrier name is being wrongly populated. I have concern specific to Yes carrier from Malaysia, whose MNC code is 152 which is wrongly populated as 15 and expected carrier name is Yes however Apple api is returning it is a 'Carrier' which is misleading. May we know what could be the reason for this? Thanks.
Posted Last updated
.