Re: Phone lock/sounds
Re: Phone lock/sounds
- Subject: Re: Phone lock/sounds
- From: Roland King <email@hidden>
- Date: Mon, 6 Sep 2010 21:46:04 +0800
bcc'ing XCode and flipping to Cocoa-Dev which is a better list for this question IMHO, if you're not a member of that I'd suggest joining it for this kind of question. You could also try the apple developer forums which have more iPhone-specific stuff, but Cocoa-Dev has more depth (again IMHO).
I'd suggest taking a look at 'Local and Push Notifications'. It's the other way around from how you're doing it, instead of keeping the phone pinging you push notifications to the phone, it's a lot harder to implement but I believe this is the way you do it the way apple does it/wants you to do it.
On 06-Sep-2010, at 9:34 PM, Dan Hopwood wrote:
> Hi all,
>
> Firstly apologies if this is to the wrong mailing list - if so perhaps you could point me to the right place.
>
> My application continuously pings a back-end server to check for new documents. If a new document is found an alert is triggered which consists of a dialogue and sound alert. If the phone is locked then neither of these events occur, which is undesirable. With a bit of googling I have discovered you can disable the standby timer, which helps but doesn't cover the use case when a user locks the phone manually.
>
> Is there any way to allow the alerts to continue to fire even when the phone is locked? Obviously Apple achieve this with calls/messages etc but perhaps it is not possible with 3rd party applications?
>
> Any help is much appreciated.
>
> -Dan
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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