Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Add icons to ios app

Hi I would like to create a bar at the bottom of my ios app that has a camera, home, likes etcc very similar to the icon buttons found at the bottom of instagram

These are the controllers I have in my project thus far: navigation controller, login view controller, register view controller, wall pictures view controller, upload image view controller. Where would I need to add in the tab bar controller?

1 Answer

you would need to use a Tab Bar/Tab Bar Controller to do that. I recommend checking out the Build A Self Destructing Message App. It goes over implementing a tab bar, adding icons etc.

These are the controllers I have in my project thus far: navigation controller, login view controller, register view controller, wall pictures view controller, upload image view controller. Where would I need to add in the tab bar controller?

you would need to add a tab bar controller to your storyboard then connect the view controllers you want as tabs to that tab bar controller. watch the first few videos in the course I linked. One of the first things that gets set up is the tab bar controller.