Dhaval Panchal
Dhaval Panchal

Reputation: 2529

show rootview controller (uitableviewcontroller subclass) in splitview in portrait mode

I want to show rootview controller(uitableviewcontroller sublass) in splitview in portrait mode which is by default hidden.when i switch to landscape mode its visible but i want to show this in portrait mode also.

thanx for any help.

Upvotes: 1

Views: 512

Answers (2)

Mustafa
Mustafa

Reputation: 20564

Take a look at APSplitViewController.

Upvotes: 0

user470763
user470763

Reputation:

This is not possible using the standard UISplitViewController class. Apple has a private API they use to do this same thing in the Settings app. Take a look at this MGSplitViewController which should allow you to achieve the same effect without breaking the private API rules.

Upvotes: 2

Related Questions