Reputation: 1950
I am using MGSplitViewController
. Now, I don't want split view to full screen.
Is it possible to change the frame of MGSplitViewController
?
Thanks
Upvotes: 3
Views: 340
Reputation: 19418
In your MGSplitViewController.m
file you can find method called
- (void)layoutSubviewsForInterfaceOrientation:(UIInterfaceOrientation)theOrientation withAnimation:(BOOL)animate
in this method you can modify the frame
For example:-
`// Layout the master, divider and detail views.
CGRect newFrame = CGRectMake(0, 70, width, height);
UIViewController *controller;`
Upvotes: 2