开发者

How to make my app to support multitasking

i am developing an app for iphone and ipad with 4.0 as base SDK and 3.0 as target. how to enab开发者_如何学Cle multitasking to this app.

thanks..


To adopt Multi-Tasking in your app. apply the following points:

  1. Support all orientation from the target's General section in settings.

  2. In the General section too. remove the check next to Requires full screen if any.

  3. Select storyboard, click the File Inspector icon in the right side bar. check the box next to Use Size Classes. Check out tutorials how to use size class to adjust your views according to the screen size assigned to your app.


Refer http://answers.oreilly.com/topic/1867-how-to-update-your-iphone-app-for-multitasking-with-ios-4/

Also duplicate question how to do multitasking application in ios 4.0


If you build an iOS app using a 4.x SDK, Apple's "multitasking" will be enabled by default, unless you explicitly add a plist key to prevent it.

But multitasking may not work properly unless you add support for it in the app's resign/become active, and/or app's suspend/resume delegates.

If you actually want to run code in the background, then your app needs to be of a few very specific types, or add support for running some code for a very limited amount of time, for which you probably want to read Apple's documentation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜