Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theprizerevealed

macrumors regular
Original poster
Feb 26, 2016
183
12
I wish to update an app with a menu. I have been doing that with switches until now; however there are too many view controllers and so I wonder if it's possible to use the table viewcontroller as a menu with each being a button to segue to a particular viewcontroller? thanks
 
Take a look at Settings.app on your device. It uses TableViews extensively. See if something there is what you want.
 
Generally, I would say UITableView is going to be your most extensively used 'complex' building block for anything that involves rows of segmented data or layouts that can scroll beyond the available bounds. It's a step more powerful than UIScrollView in the sense that it has a layout engine attached for delivering the various subviews.

You can also nest it within just about anything, including menu-styled views.
 
Last edited:
Is there a special cell or button for the tableview controller cells that has those little right pointing arrows on the right side of the cells? Where do I find it?
 
thanks.

I have another question. I embedded a navigation controller into the table viewcontroller. This created a navigation bar in the viewcontrollers to which the table viewcontroller segues. The navigation bars have back buttons with the left pointing arrows.

I need to know if there is a way programmatically to trigger the back button on the navigation bars. thanks again for everyone's help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.