QMUI_iOS icon indicating copy to clipboard operation
QMUI_iOS copied to clipboard

使用QMUIAlertController出现的警告

Open WOHANGO opened this issue 5 years ago • 1 comments

Bug 表现 在我的代码和QMUIDemo中,使用QMUIAlertController,运行时点击QMUIAlertController的按钮,打印区都会出现这个警告:

2019-10-12 09:48:39.188989+0800 qmuidemo[9059:1852456] Unbalanced calls to begin/end appearance transitions for <QMUIModalPresentationViewController: 0x10f053000> superclass: UIViewController title: (null) view: <UIView: 0x107203830; frame = (0 0; 375 667); autoresize = W+H; layer = <CALayer: 0x283ee56a0>>.

预期的表现 不出现警告,暂未实现,网上有人说是是因为前一个View视图(UIActionSheet)还没有加载完,后一个View视图(视图控制器包含的self.view)又开始了。或者dismissViewController还没有执行完,就开始执行presentViewController,动画有冲突。(链接:https://blog.csdn.net/yuhao309/article/details/80927012)

其他信息

  • 设备: [iPhone]
  • iOS 版本: [iOS 13.x]
  • Xcode 版本: [Xcode 11.x]
  • QMUI 版本: [4.0.1]

WOHANGO avatar Oct 12 '19 01:10 WOHANGO

不影响使用,后续再看如何优化

MoLice avatar Oct 12 '19 14:10 MoLice