Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.05k stars 1.37k forks source link

QMUIAlertController能归某个view持有吗? 弹出在view上, 不在window上 #1489

Open AshCheng opened 1 year ago

AshCheng commented 1 year ago

Bug 表现 就是普通的QMUIAlertController使用

截图 var alert:QMUIAlertController! alert = QMUIAlertController(title: "提示", message: "这是提示信息", preferredStyle: .alert) let sureAction = QMUIAlertAction(title: "确定", style: .destructive) { (controller, action) in print("确定") } alert.addAction(sureAction) let cancleAction = QMUIAlertAction(title: "取消", style: .cancel) { (controller, action) in print("取消") } alert.addAction(cancleAction) alert.showWith(animated: true)

如何重现

预期的表现 正常情况下,应该是什么表现

其他信息