Skip to content

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

@xiaoyao20084321

Description

@xiaoyao20084321

运行环境

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

  • Xcode 版本:16.2
  • 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)

问题截图

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions