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 trialColin 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,381 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,381 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/