feature: open with URL
This commit is contained in:
@@ -23,5 +23,11 @@ namespace Pixiview.iOS
|
||||
|
||||
return base.FinishedLaunching(app, options);
|
||||
}
|
||||
|
||||
public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
|
||||
{
|
||||
App.DebugPrint($"url: {url}.");
|
||||
return App.OpenUrl(url.AbsoluteString);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -50,5 +50,20 @@
|
||||
<true/>
|
||||
<key>UIFileSharingEnabled</key>
|
||||
<true/>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>pixiview</string>
|
||||
</array>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>org.tsanie.pixiview</string>
|
||||
<key>CFBundleURLIconFile</key>
|
||||
<string>Assets.xcassets/AppIcon.appiconset/Icon58</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
Reference in New Issue
Block a user