Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we push UISplitVIewController to a UINavigationController

Is it possible to push SplitViewController on Navigation Controller?

I am getting this error :

Split View Controllers cannot be pushed to a Navigation Controller <UINavigationController: 0x9618830>.

Thank you.

like image 396
nitesh meshram Avatar asked Jul 28 '11 07:07

nitesh meshram


1 Answers

This is because Apple doesn't want you to push split view controllers into navigation controllers. Their guidelines say that if you use a UISplitViewController, it has to be visible at all times in your app, except from overlaying it with modal view controllers.

like image 51
August Lilleaas Avatar answered Nov 09 '22 04:11

August Lilleaas