Thursday, April 30, 2026
HomeiOS Developmentswift - INStartCallIntentIdentifier crash in iOS 13

swift – INStartCallIntentIdentifier crash in iOS 13

[ad_1]

t’s quite simple to check and really onerous (at the least for me) for discovered the answer.
Simply create a brand new Venture and insert the subsequent code within the AppDelegate:

    func utility(_ utility: UIApplication, proceed userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
        
        defer {
            restorationHandler(nil)
        }
        
        if userActivity.activityType == INStartCallIntentIdentifier {
            // Handle the open of the app when the person faucet in a latest name from the native app Telephone
            // of a name maded of this app  
        }
        return true
    }

If you run the app in iOS 13 (with the iPhone 11 within the Simulator in me case) then the app crash on the startup

That is the crash:

The crash of the app

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments