Please help with the code to get version of specific installed app on iPhone.
I am basically android developer and new to iOS development.Kindly help me.
Please help with the code to get version of specific installed app on iPhone.
I am basically android developer and new to iOS development.Kindly help me.
Guessing that you mean some arbitrary other app not developed by your team: there is no API that can give you that information. Unlike on Android, the iOS platform has no APIs to discover what other apps are even installed [*], much less tell you anything about them. That’s example of how the concept of user privacy can differ between the platforms.
[*] There’s actually a small crack in the armor with an API called canOpenURL
(link) but it’s intended for a limited sort of cross-app integration, not for open-ended discovery of other apps, and tells you nothing about version numbers.
What Scott said plus…
If you’re app is deployed to a managed environment, it’s possible for the MDM system to know what apps are installed [1] and you could potentially have your app ask the MDM system about that.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Although there are limits on that too.