Stream large movie with credential through MPMoviePlayer
问题 I've been trying to stream a movie from a url that is protected. I can download the movie then play it, but the movie is too long so this is annoying. Here is my code: -(MPMoviePlayerController *)moviePlayerController { NSURL *url = [NSURL URLWithString:@"http://ABcDE.com/secret/Movie.mov"]; _moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:url]; NSURLCredential *credential = [[NSURLCredential alloc] initWithUser: @"user" password: @"password" persistence: