Reputation: 377
I would like to add swipe gesture to UINavigationBar. It is possible? As in figure.
Upvotes: 0
Views: 400
Reputation: 1344
You can do it adding custom view into the navigation bar. After adding custom view into the navigation bar add gesture recognisers to it and change x-axis accordingly. Here is some useful resources about how to add custom or built-in view into the navigation bar. add segmented control to navigation bar
Custom segmented view framework : UIScrollSlidingPage
Upvotes: 1