Narasimha Reddy
Narasimha Reddy

Reputation: 754

IPhone Segmented Control Tapping

Is it allowed to switch to different screens (like popViewController / pushViewController) when we tap the segments of segmented control? or do we have to stay in the same screen and change the views?

Upvotes: 1

Views: 375

Answers (2)

Deepak Danduprolu
Deepak Danduprolu

Reputation: 44633

Definitely not disallowed but really if you are looking for a page control like behavior navigation controller might not be the best approach. However it totally depends on your use case.

Upvotes: 0

Rahul Vyas
Rahul Vyas

Reputation: 28720

It depends on your requirement. But it is not a good practice to push view using a segmented control. Segmented should work like switch. For Example a tableView which display data according to segment selection.

Upvotes: 2

Related Questions