Reputation: 411
I am working on UISplitview
base project.I have one problem regarding UISplitview.I want to hide masterDetailview (LeftSide view) in portrait mode form other UIview controller
class .How can i do that ?
I declared UISplitviewcontroller in Appdelegate and create separate detail view class.
Upvotes: 2
Views: 140
Reputation: 1408
Try this link http://www.raywenderlich.com/1040/ipad-for-iphone-developers-101-uisplitview-tutorial you will get your answer.
or try this
- (BOOL)splitViewController:(UISplitViewController*)svc shouldHideViewController:(UIViewController *)vc
inOrientation:(UIInterfaceOrientation)orientation
{
return YES;
}
this for remove masterViewController
Upvotes: 1