We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当有竖屏通过 present 进入一个 横屏 vc, 在 loadview 中 设置 mylayout 布局视图. 当使用 [view fetchLayoutSizeClass:MySizeClass_Landscape] ,进行横屏适配, 发现进入 横屏vc 时候 适配没有起作用.
注意: 横屏方式为 // 是否旋转 -(BOOL)shouldAutorotate{ return YES } -(UIInterfaceOrientationMask)supportedInterfaceOrientations{ return right } -(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{ return right }
The text was updated successfully, but these errors were encountered:
本问题已经在1.9.8版本中修复。老版本的横竖屏都是以设备的方向来进行适配的,新版本的优先用interface orientation方向来进行方向适配。
Sorry, something went wrong.
No branches or pull requests
当有竖屏通过 present 进入一个 横屏 vc, 在 loadview 中 设置 mylayout 布局视图.
当使用 [view fetchLayoutSizeClass:MySizeClass_Landscape] ,进行横屏适配, 发现进入 横屏vc 时候 适配没有起作用.
注意: 横屏方式为
// 是否旋转
-(BOOL)shouldAutorotate{
return YES
}
-(UIInterfaceOrientationMask)supportedInterfaceOrientations{
return right
}
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
return right
}
The text was updated successfully, but these errors were encountered: