Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7199

INStartCallIntentIdentifier crash in iOS 13

$
0
0

t's very simple to test and very hard (at least for me) for found the solution.Just create a new Project and insert the next code in the AppDelegate:

    func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {        defer {            restorationHandler(nil)        }        if userActivity.activityType == INStartCallIntentIdentifier {            // Manage the open of the app when the user tap in a recent call from the native app Phone            // of a call maded of this app          }        return true    }

When you run the app in iOS 13 (with the iPhone 11 in the Simulator in me case) then the app crash at the startup

This is the crash:

The crash of the app


Viewing all articles
Browse latest Browse all 7199

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>