fastred / SloppySwiper

UINavigationController delegate that allows swipe back gesture to be started from anywhere on the screen (not just from the edge).
MIT License
806 stars 107 forks source link

Add extra offset when navcontroller is in a tabbar controller #27

Open SamuraiZack opened 6 years ago

SamuraiZack commented 6 years ago

There seems to be some offset issue when a viewcontroller is pushed from a navigation controller inside a tabbar controller. This will fix the center offset and will only work correctly if the sloppy swiper delegate is used and returns false on animatorShouldAnimateTabBar.

zzzworm commented 5 years ago

This patch has bugs, will made the navcontroller in tabBarcontroller offset wrong