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
maytelabargamalaga
Courses Plus Student 6,465 PointsPlay youtube video from a button in ios 7
Hello everyone. I want to create a button that let me to access to a video that is storege in youtube. I saw in Apple Developer website that I need to use CocoaPods and for running this programn I need to install sudo and etc, etc,
Someone can be so kind and explain what's going here. Is it no possibity to write a simple code and play the videos?
Thanks in advance for your anwers. Have a great day. Kind Regards, Mayte
2 Answers
Patrick Cooney
12,216 PointsYou can do something super simple with a WebView. Take a look at this SO question to help get you on your way. Drag a WebView onto your storyboard, setup a property, then use the SO answer as a guide to get your Webview up and running.
maytelabargamalaga
Courses Plus Student 6,465 PointsThank you for your answer, Patrick. Looks good.