0

I want create an app using ios Swift, where first app can launch second app on click of the button. I am able to launch web Url's on click of the button but not the application. Please guide me through how to provide the URL scheme for the same.

Thanks in advance.

Alexis King
  • 43,109
  • 15
  • 131
  • 205
Harsha87
  • 111
  • 2
  • 6

1 Answers1

0

Please look through the custom url scheme in iOS topics.

This link might help you with that.

If you define custom url scheme for your second application. You can call that url from your first app when a button is pressed.

itzmebibin
  • 9,199
  • 8
  • 48
  • 62
Sandeep
  • 20,908
  • 7
  • 66
  • 106
  • It's always helpful to check for the target application via `[[UIApplication sharedApplication] canOpenURL:targetURL]`. – Carsten Apr 10 '15 at 07:18