How to open an Intune Web Link app from an iOS enterprise app?
I have developed an iOS enterprise app that is deployed and managed through Microsoft Intune. From this app, I want to open another Intune-managed app — which is actually a Web Link app, meaning it’s a shortcut to a URL managed by Intune, not a native iOS app.
My goal: I want to launch the Web Link app directly if it is already installed (i.e., the shortcut is present on the device). If the Web Link app is not installed, I want the system to redirect the user to the Company Portal app, where they can install the Web Link shortcut.
What I tried: I used this standard UIApplication.shared.open(...) approach:
if let url = URL(string: "https://example.weblink.com") { UIApplication.shared.open(url) }
My questions:
- Is there a best practice or supported way to check if the Web Link app shortcut is installed on the device?
- Is there a recommended method for launching Web Link apps from a managed iOS app (while complying with Intune policies)?