UIApplication Continue User Activity(UIApplication, NSUserActivity, UIApplicationRestorationHandler) Delegate.
Continue User Activity(UIApplication, NSUserActivity, UIApplicationRestorationHandler)
Informs the app that there is data associated with continuing a task specified as a NSUserActivity object, and then returns whether the app continued the activity.
[Foundation.Export("application:continueUserActivity:restorationHandler:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] public virtual bool ContinueUserActivity (UIKit.UIApplication application, Foundation.NSUserActivity userActivity, UIKit.UIApplicationRestorationHandler completionHandler);
abstract member ContinueUserActivity : UIKit.UIApplication * Foundation.NSUserActivity * UIKit.UIApplicationRestorationHandler -> bool override this.ContinueUserActivity : UIKit.UIApplication * Foundation.NSUserActivity * UIKit.UIApplicationRestorationHandler -> bool
The system calls this method if the application has registered its ability to handle the
userActivity and WillContinueUserActivity(UIApplication, String) has returned
An application indicates interest in a particular
userActivityType by adding the value to it's
info.plist as a
NSUserActivityType. By convention, the activity type begins with a domain-reversed string identifying the developer:
<key>NSUserActivityTypes</key> <array> <string>com.xamarin.HandOffDemo.verb</string> </array>
completionHandler is a system-provided function that takes an array of UIResponder objects that should have an opportunity to handle the
userActivity. The system will call the RestoreUserActivityState(NSUserActivity) method on each of these objects.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.