On Jun 25, 2010, at 12:07 AM, Angelica Grace Tanchico wrote:

> 
> Hello,
> 
> 
> Based on iPhone Application Programming Guide document: 
> 
> "Avoid updating your windows and views. While in the background, your 
> application’s windows and views are not visible, so you should not try to 
> update them. Although creating and manipulating window and view objects in 
> the background will not cause your application to be terminated, this work 
> should be postponed until your application moves to the foreground."
> 
> Can iOS4 make a suspended task come to foreground when a trigger occur? For 
> example, in a voip app, an incoming call is received while the app is in 
> background, can it make the voip app (currently in the background) into 
> foreground (making the current loaded app suspended to background)? This way, 
> any update on the windows or views can be done immediately (since the app 
> will be forced to be loaded into foreground). Or will it like be on Push 
> service that only notification can be shown? What can be the best way to 
> implement when this scenario happens?
> 

As a user, I’d be upset if anything more than a notification came up. I might 
be in the middle of something and willing to ignore calls from some people.

I think this type of situation (switching in without user interaction) should 
be covered in the iPhone HIG. If it isn’t, a bug should be filed. Guidance here 
would be useful to maintain user sanity and application continuity.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to