rockey
rockey

Reputation: 638

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 enable multitasking to this app.

thanks..

Upvotes: 0

Views: 1702

Answers (3)

hasan
hasan

Reputation: 24205

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.

Upvotes: 1

hotpaw2
hotpaw2

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

Related Questions