Open kuldeep13990 opened 7 years ago
Hey, can you see if this helps?
If you're having problems with a
UINavigationController
inside of aUITabBarController
that is causing the UITabBar to pop out of view during the animation process, you'll want to implement theSloppySwiperDelegate
protocol and returnNO
for calls to-(BOOL)sloppySwiperShouldAnimateTabBar:(SloppySwiper *)swiper
.
@fastred , I add SloppySwiperDelegate protocol and its method but it's not getting called.
Did you set yourself as a delegate
on SloppySwiper
instance?
@fastred yes I set it like this.
self.swiper = [[SloppySwiper alloc] initWithNavigationController:self.navigationController]; self.navigationController.delegate = self.swiper;
No, it's the other way around:
self.myObject = self.swiper.delegate;
@fastred I am not getting how to call it?
what's self.myObject? is it VC, Navigation or anything else?
I don't know how your app is set up. It can be any object that conforms to SloppySwiperDelegate
protocol.
@fastred actually I am not getting what you try to tell me, my base controller is navigation controller.
@fastred , how can I fix this TabBar issue? MY ViewController Hierarchy. UINavigationController --> UITabbarController
In my first Screen there's bottom view with Home, Trending when I push to another view & pop using SloppySwiper my Bottom Home, Trending disappear, actually it's behind tabBar.
1st Screen ========
2nd Screen =========
can you help to fix this?
thanks in advance.