multitasking
Doing work that takes a long time when app has been backgrounded
I want a method to work in background until a duration specified by the user (let\'s say 20 minutes) elapses. I know it\'s not possible, because Apple allows the app to work for a maximum of 10 minute[详细]
2023-03-10 19:27 分类:问答Control threads with Task
In some code like this for (int i = 0; i < length; i++) //each iteration in another task { Method2();[详细]
2023-03-08 17:49 分类:问答Launch an application after the call ends
I am developing an application in which, I can initialize a call from the application.开发者_如何学C Is it possible to come back to the same place in the application where I was before the call, after[详细]
2023-03-07 04:23 分类:问答Why does my program crash when I restart it after removal from the recent-apps bar?
I\'m a bit of a programming newbie so sorry if this shows my ignorance... Situation 1: My program is running in the simulator. I press the home button, and then my program\'s icon again, and it goe[详细]
2023-03-06 18:43 分类:问答Difference between multitasking, multithreading and multiprocessing? [closed]
Closed. This quest开发者_Python百科ion needs to be more focused. It is not currently accepting answers.[详细]
2023-03-06 13:23 分类:问答how to stop MPMoviePlayerViewController from downloading video if the app is in background
I use MPMoviePlayerViewController to play some videos form the internet. When the user presses home button and the app goes in background, the iphone still downloads a lot of information.[详细]
2023-03-06 12:58 分类:问答how to tell if app was launched from closed or background on iphone?
Hi all is there a specific delegate method which is called when an app is brought to the 开发者_如何学编程foreground from the background on ios? The reason being I want to perform different actions wh[详细]
2023-03-05 16:36 分类:问答call "registerForRemoteNotificationTypes" in "applicationDidBecomeActive"
Is it bad practice to c开发者_运维百科all registerForRemoteNotificationTypes in applicationDidBecomeActive?I was calling it in applicationDidFinishLoading, but with multitasking, the registration was[详细]
2023-03-04 05:33 分类:问答How can I make the motion smoother?
I\'am programming my first game for Ipad. I have a little problem on an animation. In this game I have a ball bouncing around the screen. I move the ball in this way[详细]
2023-03-02 20:28 分类:问答MPMoviePlayerController in Background mode
I am trying to play streaming file from particular URL using MPMoviePlayerController. It is working fine when I load the player but I need to keep it running when application enter into the background[详细]
2023-03-01 01:20 分类:问答