QMUI_iOS
QMUI_iOS copied to clipboard
QMUINavigationController和Hero框架冲突,导致push之后pop回来 QMUIModalPresentationViewController的ContentView没有被正常显示
Bug 表现 使用情况:集成Hero框架实现转场动画,使用Hero设置QMUINavigationController.navigationAnimationType 表现: A页面以addSubview的形式添加QMUIModalPresentationViewController的contentView contentView中有一个按钮,相应A页面跳转到B页面
异常现象点击导航栏的返回按钮返回A页面,contentView没有正常被显示,contentView所有子视图的backgroundColor变为clearColor正常现象右滑手势返回A页面,contentView正常显示
如何重现 附上测试Demo和视频
https://user-images.githubusercontent.com/21191349/120579989-f5827380-c45a-11eb-8355-cd423ed35d54.MP4
其他信息
- 设备: [例如模拟器、iPhone、iPad]
- iOS 版本: [iOS 14.x]
- Xcode 版本: [Xcode 12.x]
- QMUI 版本: [4.x.x]