Closed hootigger closed 1 year ago
如果app通过supportedInterfaceOrientations 来控制横竖屏, 当前界面是横屏,然后fitOn后是竖屏问题, 主要问题是 FitOn是present出来的, 16以上未发现问题,16以下发现均有问题,经测试是 控制器的 modalPresentationStyle 属性导致无法控制横屏, 设为fullScreen即可解决
如果app通过supportedInterfaceOrientations 来控制横竖屏, 当前界面是横屏,然后fitOn后是竖屏问题, 主要问题是 FitOn是present出来的, 16以上未发现问题,16以下发现均有问题,经测试是 控制器的 modalPresentationStyle 属性导致无法控制横屏, 设为fullScreen即可解决