Reputation: 23
I want to copy my favorite YouTube video link and paste it on my UITextField from internet, and then just download the Video and save it to my iPhone Video folder on button click, is that possible? Any idea, how do i do this?
Thanks in advance :)
Upvotes: 1
Views: 968
Reputation: 1716
YouTube not provides direct link to videos. To get direct link you have to extract YouTube video link by using third party libraries like
PSYouTubeExtractor
XCDYouTubeVideoPlayerViewController
But you should know that
Downloading YouTube content is not in compliance with the YouTube Tearms of Service.
If you download and store youtube video in your app, this may be a cause of your app rejection from store. To read more see section 5B here -- http://www.youtube.com/static?template=terms
Upvotes: 2