c# – Need help to launch MAUI application from a .NET 7 iOS Application


I’m looking to launch a .NET MAUI application from a .NET 7 iOS application. I am also expecting the launched application to return data.

I’m using

if(UIApplication.SharedApplication.CanOpenUrl(new NSUrl("urlScheme://")))
{
     UIApplication.SharedApplication.OpenUrl(new NSUrl("urlScheme://"));
}

Can someone please clarify under which key in the info.plist of the MAUI app should this urlScheme be specified? One article mentioned LSApplicationQueriesSchemes. I tried that but then this if condition returns false stating that the app cannot open an app with this scheme.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img