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: "Claudio M. E. Bastos Iorio" <email@hidden>
- Date: Wed, 17 Dec 2014 05:54:01 -0800
Hi Jens,
“What behavior, that you've seen in an existing 3rd party app, are you trying to implement?”
Good question. I’m not really sure if the features that I’m trying to implement are actually doable on iOS :(
For most of the alarm apps out there, AFAIK they are using Local Notifications.
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?
AFAIK, remote notifications works pretty much the same as Local Notifications, right?
Thanks in advance.
Claudio M. E. Bastos Iorio
From: Jens Alfke [mailto:email@hidden]
Sent: Tuesday, December 16, 2014 8:56 PM
To: Claudio Maximiliano Edison Bastos Iorio
Cc: email@hidden
Subject: Re: Issues with applications running on background (Alarm Application)
On Dec 16, 2014, at 7:55 PM, Claudio Maximiliano Edison Bastos Iorio <email@hidden <mailto:email@hidden> > wrote:
soundName property is OK, and allows to use any embedded sound. But there’s no way to load any custom view dispatched right from the LocalNotification, at least no with a previous user interaction.
Correct. The notification does not start up your app or run any app code. You don't have much control over the display of a local notification. All you can specify is the wording and a sound and a numeric app badge. If the user presses a button in the notification, that can launch your app.
What behavior, that you've seen in an existing 3rd party app, are you trying to implement?
—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