Nitin
Nitin

Reputation: 7471

iOS 8 UISplitViewController is not working

I am launching my app to iOS 8 device trough test flight and everything works great except UISplitViewController. (I am running with XCODE 5.1.1)

It works fine in Landscape mode but having issue in protraitmode. Please see the below screenshots.

SplitView issue in iOS8

As of now I don't want to update my code base to Xcode 6 beta 6 because it has some strange issue for xibs and other areas as well.

Upvotes: 0

Views: 444

Answers (1)

user1727021
user1727021

Reputation: 100

Make sure you follow the following order: 1) Add child view controller 2) Add split view controller view as a subview of the container view 3) Set view controllers of the split view controller

If you reverse numbers 2 and 3, then this issue will appear in the scenario that your split view controller is not the root view controller of the app.

Upvotes: 1

Related Questions