Re: Issues with applications running on background (Alarm Application)
Re: Issues with applications running on background (Alarm Application)
- Subject: Re: Issues with applications running on background (Alarm Application)
- From: Jens Alfke <email@hidden>
- Date: Wed, 17 Dec 2014 09:08:36 -0800
> On Dec 16, 2014, at 10:37 PM, Claudio Maximiliano Edison Bastos Iorio <email@hidden> wrote:
>
> Is it possible to wakeup/resume an iPhone application from background mode to foreground mode programmatically? How?
No. From the user's perspective, the app they're using would abruptly disappear, to be replaced by your app. Awful user experience!
> I was expecting to display a custom view / display a sound / bring an app to the foreground at any given time. Local Notifications seems to be the closer that I can get. Is there any other way to build something like that?
No. A custom view would have to be running in your app, which would require activating your app (see above).
With the new App Extension functionality in iOS 8 it's possible that in the future Apple could add a new type of extension that could run a view inside of a local notification. But I have no idea if they're thinking of doing that.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden