List of all apps installed by user xamarin iOS, or How can I know if an app I need is installed on iOS?

kevin david 161 Reputation points
2022-03-17T17:41:55.883+00:00

I'm new to xamarin.iOS, I did something similar on Android by modifying the AndroidManifest.xml but I don't know how to do it with iOS. This is my code.

else if (plataforma.ToString().CompareTo("iOS")==0)
{
 //I need to check if chrome is installed on an iOS device
 await (Application.Current as App).SignIn();
}
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,305 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
    2022-03-18T03:32:23.093+00:00

    iOS doesn't permit it.

    You can make limited use of CanOpenUrl. You'll need to add the URLs you're interested in to LSApplicationQueriesSchemes in your Info.plist

    See the Discussion section in Apple's docs for more on the limitations in current versions of iOS:
    https://developer.apple.com/documentation/uikit/uiapplication/1622952-canopenurl

    Consider if this is what you actually want to do. It's generally better not to rely on specific other applications but to have the application perform its action and let the user's default handler manage it. If that generates an error then respond to the error.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful