Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multitasking

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa
Mac Cocoa  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Thu Jun 24, 2010 9:15 pm    Post subject: Multitasking Reply with quote

so - Do background applications *ever* quit in iOS 4?

"Apps on iOS4 will quit if they're not compiled against the 4.0 SDK (therefore
not being multitasking aware) or if the UIApplicationExitsOnSuspend key is
specified and set to true in the app's info.plist file."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Tue Jul 13, 2010 7:19 pm    Post subject: Reply with quote

bignerdranch.com - applicationWillTerminate vs. applicationDidEnter-
Background


"So I copied the code that was in applicationWillTerminate and and put it in
applicationDidEnterBackground.

My question then - is it the proper thing to do to have the same code in both
applicationWillTerminate and applicationDidEnterBackground? "
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Wed Jul 14, 2010 1:06 am    Post subject: Reply with quote

so - Default.png problem with iPhone OS 4?

"What should Default.png contain? Currently it seems that iPhone OS
makes snapshots of the screen before closing the app, and next time
it launches with that exact snapshot as “splash screen image”."
Back to top
View user's profile Send private message Visit poster's website
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Sun Aug 22, 2010 10:50 am    Post subject: Reply with quote

http://stackoverflow.com/questions/3540583/iphone-what-is-the-correct-way-to-leave-an-application
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Fri Sep 10, 2010 12:57 pm    Post subject: Reply with quote

iphonedevsdk.com - Keep NSTimer running when app is in background

"I am having same problem and I've managed to setup UILocalNotification
and it works fine. But, I get event fired once timer gets to zero (i.e., when
current clock is equal to setup) instead of getting event, for instance, every
second."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Wed Sep 22, 2010 8:29 pm    Post subject: Reply with quote

so - What method is called when application appears from back-
ground on iPhone?


"Along with the applicationDidBecomeActive: and applicationWillEnterFore-
ground: messages sent to the application delegate, the OS will also send
corresponding UIApplicationDidBecomeActiveNotification and UIApplication-
WillEnterForegroundNotification notifications."
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Thu Oct 07, 2010 5:45 pm    Post subject: Reply with quote

so - iPhone 4 App continues to run in background with debugger

"Hi, on iphone with multitasking and iOS4.1, if i have the debugger con-
nected I noticed that code is still being run in the background, my break-
points are still hit, timers are running. This without any of the background
modes set."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Tue Oct 26, 2010 12:07 am    Post subject: Reply with quote

so - (void)applicationDidEnterBackground:(UIApplication *)application

"There is also the UIApplicationDidEnterBackgroundNotification notification
that you can listen for instead of doing the above."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group