0

Is it possible to open an iPhone app by just knowing app name like follows?

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"AppName://"]];

Or should i use some other way?

secretformula
  • 6,414
  • 3
  • 33
  • 56
OneDerr Siva
  • 207
  • 3
  • 14

1 Answers1

0

You can open it only when the target app has mentioned it in the custom URL scheme. See Link

Apurv
  • 17,116
  • 8
  • 51
  • 67
  • The developer doesn't need to add a custom URL scheme just to open the app. It's only necessary to do a specific task on launch. – Chris Aug 24 '12 at 05:50