When i use below code on ios 10.2,
MPMoviePlayerViewController *c = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(movieLoadStateDidChange:) name:MPMoviePlayerLoadStateDidChangeNotification object:nil];
[self.navigationController presentMoviePlayerViewControllerAnimated:c];
[c.moviePlayer play];
But when I execute this code this have stoped automatically on
**MPMoviePlayerViewController *c = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
Please help. Is any changes in info.plist?