Discussion Forums  >  Uncategorized

Replies: 1    Views: 178

chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
01/10/12 03:57 PM (14 years ago)

iPad rotating issue

Hey Guys I am making an RSS project for a client of mine and basically I am inputting all their social media links into this one application. I have several playlists from youtube in this application in which I have listed a video thumbnail and video description for all the youtube videos. When you select one of the feeds, it opens the youtube video website. The youtube video plays fine however it won't play in landscape mode! I wanted this to be a portrait only application on the ipad so in BT_rotatingNavController.m and BT_rotatingTabBarController.m I changed canRotate from True to False. if([appDelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE; I don't want the application to rotate but I do want the video to be able to rotate. Is there a way to force the video aspect to rotate. I thought there would be a file under BT_Video but there isn't anything and I don't know which file to edit or even where to edit to allow the video to play in both portrait and landscape mode **Note- The reason why I wanted the iPad application to be portrait only is because I have 6 invisible buttons on the main page utilizing a background image. I wanted these buttons to make up perfectly and every time I rotated the device the buttons were off. So the only solution I could think of was to lock the app in portrait. Any suggestions?..By the way I also have an iphone application for the same project in my control panel and it won't allow me to play the video in landscape mode either. So this is a big concern for me. Thanks in advance for any help
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
01/10/12 04:35 PM (14 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.