virus
virus

Reputation: 1233

Testing multitasking iOS 9 feature in simulator

I am using XCode 7 (Beta) to test multitasking, but I could not get a way to test with it.

I just want to make sure is there anyone like me, who facing the same issue.

Upvotes: 3

Views: 5067

Answers (3)

virus
virus

Reputation: 1233

To adopt Multi-Tasking in your app, just make sure all below points followed:

  • Require XCode 7 (Beta 4) and later for having look in to the simulator through choosing iPad Air 2 because only this device supports Split View.
  • Provide a LaunchScreen.storyboard file ( instead of a .png image file as we did in iOS 7 and earlier).
  • In your project’s Info.plist file, in the “Supported interface orientations (iPad)” array, declare support for all four device orientations.
  • If you must opt out of Slide Over and Split View, do so explicitly by adding the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES. You can do this in the property list editor or in the General > Deployment Info area in the target editor.
  • Select storyboard, click the File Inspector icon in the right side bar. check the box next to Use Size Classes.

Reference Link

Upvotes: 4

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.

Then, run the simulator. Do a small drag from the right. An arrow will appear. do a strong drag from it towards the centre.

Upvotes: 2

Tikhonov Aleksandr
Tikhonov Aleksandr

Reputation: 14329

You can test it.

Just run ios simulator iPad Air 2 (ios 9)( because only this device supports Split View) and swipe from right to left near of middle edge of the screen

See my screenshot

Upvotes: 13

Related Questions