cancel
Showing results for 
Search instead for 
Did you mean: 

How can i achieve navigation bar with segment controller in iOS ?

0 Kudos

I trying to achieve navigation bar with segment controller in iOS.

Accepted Solutions (1)

Accepted Solutions (1)

AlexGiguere
Contributor

you can add it like that but you won't have a title

self.navigationItem.titleView = segmentedControl

if you want a title and the control under it, you can put a UIView under your navigation bar, remove the border hairline of 1px

alex

0 Kudos

Thanks for answering. I have used UIView under navigation bar.

Answers (0)