cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 463 forks source link

Animations show the wrong navigationBar if the screen changes during the Toast #148

Open Ashton-W opened 9 years ago

Ashton-W commented 9 years ago

For example, in a tab based app you can easily navigate to a different tab when the toast is showing, and in the toast disappear animation it uses the snapshot of the window from when it appeared.

We should at least get a new snapshot of the window for the outward animation.

balram3429 commented 9 years ago

It is so because this control takes the snapshot of the navigation Bar along with status bar on the viewcontroller it is presented. Later the same snapshot is shown during the outward animation. I am facing this problem & have tried to fix by just making a clear sanpshot. My approach works fine in iOS 8.0.2 but the whole screen has flickering on iOS 8.3 ( iphone6)