I am facing a strange issue, after I started running my app on iOS11 devices.
I do NOT have a 'rejection' from Apple but it simply stopped working on devices/simulators using iOS11.
For the call action to a number, I used the below code which worked well (and still works) on iOS10 simulators and devices.
let myPhoneNumber = "123456789"
if let url = URL(string: "telprompt://\(myPhoneNumber)"), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.openURL(url)
}
The same code doesn't work on iOS 11 anymore. I have my project migrated to Swift 4.0.2 as well. Did I miss something specific?
PS: I have this in my info.plist already added under the LSApplicationQueriesSchemes