continueUserActivity not called iOS swift
Problem:
I had an app with sharing data from other apps to my app.If they click the url from whatsapp or others it will open my app and navigate to some page.
Solution:
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool
not called because it was depricated.
so try the below method
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool.
I had an app with sharing data from other apps to my app.If they click the url from whatsapp or others it will open my app and navigate to some page.
Solution:
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool
not called because it was depricated.
so try the below method
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool.
Comments
Post a Comment