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 Build a Self-Destructing Message iPhone App Designing and Starting the App A Storyboard with a Tab Bar Controller

Chris Cannon
Chris Cannon
1,211 Points

Sportcenter app

We learn about the tab bar controllers. Can we use that tab bar like the Sportcenter app does? They have a swipe to the next tab but its at the top of the screen.

5 Answers

Robert Bojor
PLUS
Robert Bojor
Courses Plus Student 29,439 Points

It looks like a UIPageViewController and a fancy navigation on top. I've noticed there's a bit of opacity at the ends if the navigation items are getting closer to the edge.

However, you could implement swipes to change from tab to tab if you want...

Stone Preston
Stone Preston
42,016 Points

if you swipe to change view controller its more likely they are using a UIPageViewController

Chris Cannon
Chris Cannon
1,211 Points

Just to make sure we are on the same page and a visual,

view this video https://www.youtube.com/watch?v=9dEykFzfbiU

Chris Cannon
Chris Cannon
1,211 Points

Its the bar that says "Scores, News and Now"

Chris Cannon
Chris Cannon
1,211 Points

I think I am going to with the swipe to change from tab to tab. Thank you all.