Quote:
Originally Posted by primedime
I am new to app development but have been reading about it for about 2 weeks now. I have come up with an idea for an app and cant figure out how to add youtube videos to scrollView. Also how do I go about setting it up to where i can update those videos without writing new code? Can I set it to where when my youtube channel is updated it updates on the app? Any help is much appreciated!
|
There are a few questions there.
1) Adding Videos to a UIScrollView is just adding UIViews/subviews to the UIScrollView view. This question isn't really about YouTube here, the solution is about adding any view to a UIScrollView. In some cases if you wanted to create a grid like view in your scrollview, you will have to do some code to layout the subviews in the scrollview, which means some calculations of screen width, content width, subview width ... and heights to make the grid look nice.
2) The other question is about YouTube and channels and Videos. For that you really should use the Google YouTube APIs, which are really nice, but kind of complicated. More complicated than I could post here. Unfortunately, this will probably be difficult for you being new to objective-c app development. To find out more of these apis, Google has a Google Groups forum as well as all the documentation on using the apis.
Personally, if you are new to app development, I highly recommend writing some other apps first before this one as the two areas you ask about are much more advanced topics.
Hope that helps
Mark