KLTarBarTransition
Example
#import <KLTabBarTransitionDelegate.h>
@implementation TabBarController
- (void)viewDidLoad {
[super viewDidLoad];
KLTabBarTransitionDelegate *delegate = KLTabBarTransitionDelegate.alloc.init;
delegate.tabBarItemScaleEnable = YES; // item缩放动画开关
delegate.panGestureRecongizerEnable = YES; // 页面侧滑动画开关,默认当TabBar显示时,页面才可以侧滑
delegate.tabBarController = self; // 转场TabBarController
self.delegate = delegate;
}
@end
Requirements
Installation
KLTarBarTransition is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'KLTarBarTransition'
Author
Kalanhall, [email protected]
License
KLTarBarTransition is available under the MIT license. See the LICENSE file for more info.