RAMAnimatedTabBarController -swift kit

前端之家收集整理的这篇文章主要介绍了RAMAnimatedTabBarController -swift kit前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

RAMAnimatedTabBarController

  1. Create a new UITabBarController in your storyboard or nib.

  2. Set the class of the UITabBarController to RAMAnimatedTabBarController in your Storyboard or nib.

  3. For each UITabBarItem,set the class to RAMAnimatedTabBarItem.

  4. Add a custom image icon for each RAMAnimatedTabBarItem

  5. Add animation for each RAMAnimatedTabBarItem :

    • drag and drop an NSObject item into your ViewController
    • set its class to ANIMATION_CLASS (where ANIMATION_CLASS is the class name of the animation you want to use)
    • connect the outlet animation in RAMAnimatedTabBarItem to your ANIMATION_CLASSDemonstration video for step 5
原文链接:https://www.f2er.com/swift/326357.html

猜你在找的Swift相关文章