iOS - Video not rotating only in iOS7 over iPhone
| Originator: | moftak.test | ||
| Number: | rdar://15380375 | Date Originated: | 04/11/2013 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 7.0.3 |
| Classification: | Reproducible: | Always |
Summary:
What i have Done?
I am playing videos in an extended class of MPMoviePlayerViewController and have implemented orientation functions as follows
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
if (toInterfaceOrientation == UIInterfaceOrientationPortraitUpsideDown){
return FALSE;
}
else{
return TRUE;
}
}
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
[self setControlsPositions:toInterfaceOrientation];
}
-(BOOL)shouldAutorotate
{
return YES;
}
What issue i am Facing?
The application works fine up till iOS6 on Both iPhone and iPad Almong with iPad (with iOS7) but the video does not rotate over iPhone with iOS7 installed.and i have found that the video does rotates if setMovieSourceType is set to MPMovieSourceTypeUnknown but does not rotate when set to MPMovieSourceTypeStreaming which iis working fine on lower iOS Version and iPad with iOS 7
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!