4

I want to develop an Enterprise Application. It will run in the background continuously and from the background i want to open an another application. Its like toggle between two application. I have implemented forever background running with help of Location services which is working fine and also updating the location from the background but it is unable to execute openURL method.

Please suggest something.Thanks

rmaddy
  • 314,917
  • 42
  • 532
  • 579
iOS Dev
  • 301
  • 2
  • 9

2 Answers2

1

It's not possible!

You can use these links only.

https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

LLIAJLbHOu
  • 1,313
  • 12
  • 17
1

I will extend a little bit on MobiDevCom answer.

I haven't found a good publicly known solution.

The direct approach (trying to open something from background using all kinds of public or private API) ends up requiring all kinds of entitlements. I tried at least dozen of things about a year ago and reverse engineered quite a lot of iOS components.

The only idea which I found was usage of MDM Guided mode (however, a device needs to be supervised and enrolled into MDM for that).

BTW. Here is the question which I asked - Show some UI from background in audio player or VOIP app on iOS

Community
  • 1
  • 1
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
  • Thanks for the suggestion. Is it possible to bring an application in foreground from background using MDM guided mode? – iOS Dev Jun 20 '14 at 05:57
  • I tried it mainly on iOS 6, so it may be not applicable to iOS 7 and even less applicable to iOS 8. The answer is "yes" for iOS 6. However, it wasn't very stable back then (meaning: a device quite often got to some weird states). – Victor Ronin Jun 20 '14 at 16:46