Reputation: 638
i am developing an app for iphone and ipad with 4.0 as base SDK and 3.0 as target. how to enable multitasking to this app.
thanks..
Upvotes: 0
Views: 1702
Reputation: 24205
To adopt Multi-Tasking in your app. apply the following points:
Support all orientation from the target's General section in settings.
In the General section too. remove the check next to Requires full screen
if any.
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.
Upvotes: 1
Reputation: 70693
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.
Upvotes: 0
Reputation: 6401
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
Upvotes: 0