我正在使用MGSplitViewController
. 现在,我不想将视图拆分为全屏。
是否可以更改框架MGSplitViewController
?
谢谢
我正在使用MGSplitViewController
. 现在,我不想将视图拆分为全屏。
是否可以更改框架MGSplitViewController
?
谢谢
在您的MGSplitViewController.m
文件中,您可以找到名为的方法
- (void)layoutSubviewsForInterfaceOrientation:(UIInterfaceOrientation)theOrientation withAnimation:(BOOL)animate
在这种方法中,您可以修改框架
例如:-
`// 布局主视图、分隔视图和详细视图。
CGRect newFrame = CGRectMake(0, 70, width, height);
UIViewController *controller;`