lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.5.0 vs lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.6.0
- old
+ new
@@ -41,9 +41,13 @@
def application(application, openURL: url, sourceApplication:source_app, annotation: annotation)
try :on_open_url, { url: url, source_app: source_app, annotation: annotation }
end
+ def application(application, continueUserActivity:user_activity, restorationHandler:restoration_handler)
+ try :on_continue_user_activity, { user_activity: user_activity, restoration_handler: restoration_handler }
+ end
+
def ui_window
(defined?(Motion) && defined?(Motion::Xray) && defined?(Motion::Xray::XrayWindow)) ? Motion::Xray::XrayWindow : UIWindow
end
def open(screen, args={})