Toaster icon indicating copy to clipboard operation
Toaster copied to clipboard

iOS13 上会导致状态栏的点击失效,直接的影响就是导致全局单击状态栏(tableView/collectionView)返回顶部失效

Open WXXXXH opened this issue 6 years ago • 8 comments

v:2.2.0 iOS13

WXXXXH avatar Oct 15 '19 09:10 WXXXXH

ToastWindow.shared.windowLevel = 10000 iOS 13 上虽然没有点击事件但是会阻止

WXXXXH avatar Oct 15 '19 09:10 WXXXXH

解决方案:继承了Toast,重写main方法,add的时候显示ToastWin,dissmiss的时候 show

WXXXXH avatar Oct 16 '19 11:10 WXXXXH

@WXXXXH Hi, do you mean we should only show ToastWindow when you have toast?

cozzin avatar Oct 17 '19 00:10 cozzin

@WXXXXH Hi, do you mean we should only show ToastWindow when you have toast?

yes,you can test in iOS 13,if your project hava collectionView/tableView,,and Toast .show(),then you will find click stateBar not scroll to top,

WXXXXH avatar Oct 18 '19 04:10 WXXXXH

I'm struggling with same issue https://github.com/devxoul/Toaster/issues/180. Do you know what causes this issue?

cozzin avatar Oct 18 '19 04:10 cozzin

I'm struggling with same issue #180. Do you know what causes this issue?

iOS 13 Bug,可能不允许多个UIwindow ,当系统检测到多个UIwindow的时候 事件会传递给另一个等级更高的?猜测。。。目前iOS13 字符串也有一些问题

WXXXXH avatar Oct 18 '19 05:10 WXXXXH

Ok, I will test with multiple windows and other windowLevels.

cozzin avatar Oct 18 '19 06:10 cozzin

This issue is resolved in iOS 13.2. @WXXXXH Could you check in iOS 13.2?

cozzin avatar Nov 15 '19 00:11 cozzin