QMUIDemo_iOS icon indicating copy to clipboard operation
QMUIDemo_iOS copied to clipboard

设置supportedOrientationMask = .landscapeLeft在push到下一个页面时候,会先执行push动画,然后再旋转

Open xiaoyao20084321 opened this issue 10 months ago • 0 comments

运行环境

iOS 设备:模拟器 系统版本:iOS 18.2

  • [x] Xcode 版本:16.2
  • [x] QMUI iOS 版本:4.8.0

具体问题描述

我的TCGCreateRoomVC是继承与QMUICommonViewController的,设置supportedOrientationMask后, push进去后,会出现先出现push动画,然后才执行旋转动画,而不是跟demo里面一样,push和旋转是同步进行的 let createRoomVC = TCGCreateRoomVC(isHiddenNavBar: true) createRoomVC.supportedOrientationMask = .landscapeLeft self?.navigationController?.pushViewController(createRoomVC, animated: true)

问题截图

xiaoyao20084321 avatar Jan 07 '25 09:01 xiaoyao20084321