- Where Developers Learn, Share, & Build Careers
I am working on an application in which I embed an IFFRE on the screen to show thumbnails from Vimeo on a video is. com. Everything is working right, but when I tap to play the video, it invites the iPhone's default movie player and then I will rotate my iPhone to the landscape and play in the video landscape mode. But if the video ends in landscape mode, the screen (which I've added the Vimeo iframe) is also rotated in landscape mode. I just need to fix it in the picture but the video should play both in the picture and in the scenario. Thanks!
Place this method in all your view controllers so that they always remain in portrait mode
- (BOOL) should require aurototettoInterfaceAuthentication (UINFers Orientation) Interface Orientation {// Return Yes, Supported Orientation Returns (Interface Orientation ==UINFFERSAntration Portrait); }
Comments
Post a Comment