icanzilb / EasyAnimation

A Swift library to take the power of UIView.animateWithDuration(_:, animations:...) to a whole new level - layers, springs, chain-able animations and mixing view and layer animations together!
MIT License
2.96k stars 201 forks source link

UITabBarItems weird behaviour #25

Open PatrykKaczmarek opened 8 years ago

PatrykKaczmarek commented 8 years ago

Hi!

First of all thanks for great library! It's really awesome. I integrated it in project that I'm currently working on and encountered strange behaviour. When presenting UITabBarController without animation:

let tabBarController = UITabBarController()
// setup tabBarController 

//present tab bar controller *without* animation:
presentViewController(tabBarController, animated: false, completion: nil)

UITabBarItems are going crazy and change their position for a short time. Even without integrating EasyAnimation (probably because of method swizzling). Let's take a look:

bug

I prepared sample project which hopefully will be useful. It's vanilla Single View Application.

netgfx commented 8 years ago

Same thing happening to me, any workarounds?