0

Is there any possible way to track which application is running in foreground in device in iOS. For example if I am using facebook app I need to get the name of the application from my application.

If SMS application is used I need to get the name of the application from my application.

  • 1
    Did you used SpringBoardServices. Have a look of it http://stackoverflow.com/questions/8252396/how-to-determine-which-apps-are-background-and-which-app-is-foreground-on-ios-by – Himanshu Joshi Mar 05 '14 at 09:36

1 Answers1

0

It's not possible. All you can do is get a list of currently running tasks using a systcl call.

Rukshan
  • 7,902
  • 6
  • 43
  • 61