I need to do this: I have an app with a button, I wish, when I click the button that the iPhone launch youtube app with directly my video ready to start to play..
I’ve tried this:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=my_video_id"]];
but launch safari in the video page.
That really should work if the button is a UIButton in a native Cocoa Touch app. Is yours an HTML button in a UIWebView?