Beispiel #1
0
 public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
 {
     if (url.IsFileUrl)
     {
         Task.Run(() => game.Import(url.Path));
     }
     else
     {
         Task.Run(() => game.HandleLink(url.AbsoluteString));
     }
     return(true);
 }
Beispiel #2
0
 public override bool OpenUrl(UIApplication application, NSUrl url, string sourceApplication, NSObject annotation)
 {
     Task.Run(() => game.Import(url.Path));
     return(true);
 }