SwiftOverlays icon indicating copy to clipboard operation
SwiftOverlays copied to clipboard

Calling UIViewController.showOnTopOfStatusBar twice has strange effects

Open stefanengel opened this issue 8 years ago • 1 comments

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

Is there a way to remove the old notification that is still visible below the new one?

stefanengel avatar Oct 24 '17 15:10 stefanengel

@stefanengel thanks for reporting, I will take a look

peterprokop avatar Oct 24 '17 16:10 peterprokop