I am trying to make my app alive. And bring it to foreground from b开发者_运维技巧ackground.
But this is not happening.
I have used operURL concept for achieving in application will enter background method but it is not helping me out.
I have also attempted [UIApplication specialLaunchApp:@"com.companyname.appname"];, but this is also not working.
The closest thing you can do to this is having a background app that uses the background local notifications API to display a message to the user that prompts them to re-open the app.
Apps can not promote themselves to the foreground without user action of some sort.
Only the user should be able to bring your app to the foreground.
精彩评论