PatrikD
PatrikD

Reputation: 377

Swipe gesture in UINavigationBar

I would like to add swipe gesture to UINavigationBar. It is possible? As in figure.

example

Upvotes: 0

Views: 400

Answers (1)

serhat sezer
serhat sezer

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

Related Questions