Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Colin Roth
15,062 PointsHelp with a project
Hey guys,
I am currently working on an app (after some good old treehouse training) and was just curious if anyone here knew how YouTube iPhone app does the "pull down picture and picture." Sorry thats the best way I can describe it. Any insight would be awesome, or even just a website similar to bootstrap.
Thanks,
Colin
3 Answers

Alex Hedley
16,377 PointsDo you mean a 'Pull To Refresh'
There are quite a few tuts online: From iOS6 this became much easier. http://www.lextech.com/2012/10/ios-6-pull-to-refresh-tutorial/ http://www.intertech.com/Blog/ios-6-pull-to-refresh-uirefreshcontrol/ http://www.ioscreator.com/tutorials/add-pull-to-refresh-to-a-table-view-in-ios-6
Cocoa Controls https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=refresh
Or do you mean how the video can be minimised and yet still playing?

Colin Roth
15,062 PointsThe minimized video player, but the pull to refresh is also pretty sweet haha thank you

Alex Hedley
16,377 PointsYou could do an inline view that had a video player. You could then add gestures to it to resize and move about the screen.
Using Video player tut that will give you an overview: http://www.raywenderlich.com/13418
This is an OLD tut but might also give you some ideas: http://mobile.tutsplus.com/tutorials/iphone/mediaplayer-framework_mpmovieplayercontroller_ios4/