morizotter / SwiftyDrop

Lightweight dropdown message bar in Swift. It's simple and beautiful.
MIT License
683 stars 74 forks source link

Animations not working as expected in iOS 10 #46

Closed jonkykong closed 8 years ago

jonkykong commented 8 years ago

Previous to iOS 10, notifications would drop from the top of the screen as expected. There is no animation in iOS 10 and it seems to appear instantly.

A preliminary search indicates this may be the problem: http://stackoverflow.com/questions/38965727/handling-autolayout-constraint-animation-differences-in-ios-10

Ideally, whatever solution fixes this should still work in previous iOS versions.

morizotter commented 8 years ago

Thank you for reporting. Isn't it solved in version 3.0.2? I fixed yesterday 💦

jonkykong commented 8 years ago

@morizotter the latest version of your pod is 2.4.2. If you've resolved this issue, you haven't published it yet.

morizotter commented 8 years ago

Ah, yes. Pod version was 2.4.2. I have to solve the pod problem.. You can use 3.0.2 with Carthage.

morizotter commented 8 years ago

In https://github.com/morizotter/SwiftyDrop/releases/tag/3.0.3 , animation fixed but it's written in swift 3.0.

There is no swift 2.3 brach for now...

jonkykong commented 8 years ago

I still need 2.3 as my project depends on other libraries that haven't been migrated to 3 yet, and 2.3 vs 3 don't play nicely. I went ahead and incorporated your changes in v. 2.4.2 from 3.0 in the interim.

morizotter commented 8 years ago

@jonkykong 2.3 compatible release is now created!

https://github.com/morizotter/SwiftyDrop/releases/tag/2.5.0

Anyway, thanks for using SwiftyDrop!

jonkykong commented 8 years ago

Thank you, @morizotter!