Ios UIModalPresentationCurrentContext和自动旋转

Ios UIModalPresentationCurrentContext和自动旋转,ios,uinavigationcontroller,autorotate,uimodalpresentationstyle,Ios,Uinavigationcontroller,Autorotate,Uimodalpresentationstyle,我有一个UINavigationController作为根。我想在上面演示透明模式VC。 我在UINavigationController上将modalPresentationStyle设置为UIModalPresentationCurrentContext 当我呈现VC时,它是透明的,但自动旋转没有动画,底部VC不会旋转 看起来像虫子。但是我应该如何实现正确的行为呢?我的解决方案不是使用UIModalPresentationCurrentContext。那么如何实现呢?我也有同样的问题?

我有一个UINavigationController作为根。我想在上面演示透明模式VC。 我在UINavigationController上将modalPresentationStyle设置为UIModalPresentationCurrentContext

当我呈现VC时,它是透明的,但自动旋转没有动画,底部VC不会旋转


看起来像虫子。但是我应该如何实现正确的行为呢?

我的解决方案不是使用UIModalPresentationCurrentContext。

那么如何实现呢?我也有同样的问题?