if you call
UIViewController.showOnTopOfStatusBar(view, duration: 1, animated: true)
and then call it again before the first notification disappeared, all further calls will show the notification twice.
Please see the following clip to get a better understanding:
Is there a way to remove the old notification that is still visible below the new one?
Hi there,
if you call
UIViewController.showOnTopOfStatusBar(view, duration: 1, animated: true)
and then call it again before the first notification disappeared, all further calls will show the notification twice.Please see the following clip to get a better understanding:![ezgif com-video-to-gif](https://user-images.githubusercontent.com/25851870/31952218-680d116a-b8e0-11e7-8296-0927bedf1523.gif)
Is there a way to remove the old notification that is still visible below the new one?