I had a problem trying to start a phone call from my iOS application using:
UIApplication open(_:options: completionHandler:)
iOS displays a pop-up / warning before starting a call using the two Call and Cancel and CompletionHandler buttons, called with a Bool parameter that has true / false based on the button action in iOS 10.
But now in iOS11, the problem is that the Handler completion function is called automatically before clicking the Cancel or Call button of the confirmation pop-up window, which always has a true value.
Is this a bug in iOS11 or is there something I'm doing wrong?
source
share