You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
xiaoyao20084321
changed the title
设置supportedOrientationMask = .landscapeLeft横屏无效
设置supportedOrientationMask = .landscapeLeft在push到下一个页面时候,会先执行push动画,然后再旋转
Jan 7, 2025
运行环境
iOS 设备:模拟器
系统版本:
iOS 18.2
16.2
4.8.0
具体问题描述
我的TCGCreateRoomVC是继承与QMUICommonViewController的,设置supportedOrientationMask后, push进去后,会出现先出现push动画,然后才执行旋转动画,而不是跟demo里面一样,push和旋转是同步进行的
let createRoomVC = TCGCreateRoomVC(isHiddenNavBar: true)
createRoomVC.supportedOrientationMask = .landscapeLeft
self?.navigationController?.pushViewController(createRoomVC, animated: true)
问题截图
The text was updated successfully, but these errors were encountered: