Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 57    Views: 98

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
03/27/13 12:17 PM (12 years ago)

IOS Rotation

Hey, I'm able to prevent an iPad from rotating making the modifications in the app_delegate file. And it works fine if the device is on IOS6, but if it's on an earlier version, it still rotates. How to prevent its rotation on all IOS versions, meaning, 4.3 or 5 and above. Thanks. Miguel
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/27/13 12:24 PM (12 years ago)
here's the easiest way to do it - Type canRotate into the Xcode search tool - then replace every occurrence of "canRotate=TRUE" with "canRotate=FALSE"
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
03/27/13 12:42 PM (12 years ago)
Sounds good. Is there a way to search all files at once, or do I have to search each file at a time? Thanks
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/27/13 12:45 PM (12 years ago)
yeah, you can search them all at once - if you look right above the usual Xcode project navigator view, you will see a little magnifying glass. You can also call this tool up using cmd + shift + f
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
03/27/13 12:55 PM (12 years ago)
Thanks. Cheers. Miguel
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/29/13 12:23 PM (12 years ago)
yes but this prevents from videos showing in landscape mode? right?
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/29/13 12:39 PM (12 years ago)
True, it does...next thing on my list is to figure out a solution for the video rotation. I know there's some way to do it - I'll post back here if I figure it out
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/29/13 02:14 PM (12 years ago)
thanks for the support man...you r the best
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/29/13 08:40 PM (12 years ago)
Woohoo! Man I was about to give up, but I finally got it figured out - So, start by following the original instruction in this thread and setting all occurences of canRotate to FALSE Next go to appDelegate.m and find the supportedInterfaceOrientation code way down at the bottom and replace the entire method with this, but remember to edit it so that it has your app delegate name, and the nav bar text of the screen you want to be in landscape - //supportedInterfaceOrientationsForWindow... -(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"supportedInterfaceOrientationsForWindow %@", @""]]; //allow / dissallow rotations BOOL canRotate = FALSE; //appDelegate YOUR_DELEGATE *appDelegate = (YOUR_DELEGATE *)[[UIApplication sharedApplication] delegate]; if ([[BT_strings getStyleValueForScreen:self.rootApp.currentScreenData nameOfProperty:@"itemNickname" defaultValue:@""] isEqualToString:@"YOUR_NAV_BAR_TEXT"]){ canRotate = TRUE; }else{ if([appDelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE; }else{ //should we prevent rotations on small devices? if([appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"]){ if([[appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"] isEqualToString:@"largeDevicesOnly"]){ NSLog(@"%@", @"SHOULD NOT ROTATE"); canRotate = FALSE; } } } } //bitwise OR operator... NSUInteger mask = 0; // UNCOMMENT THIS TO SUPPORT iOS 6 SCREEN ROTATAIONS mask |= UIInterfaceOrientationMaskPortrait; if(canRotate){ mask |= UIInterfaceOrientationMaskLandscapeLeft; mask |= UIInterfaceOrientationMaskLandscapeRight; mask |= UIInterfaceOrientationMaskPortraitUpsideDown; } return mask; } Next, go to BT_navigationController.m and add this code - -(BOOL)shouldAutorotate { return [[self.viewControllers lastObject] shouldAutorotate]; } - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return [[self.viewControllers lastObject] preferredInterfaceOrientationForPresentation]; } Finally, go to the screen that you will be going BACK to from your landscape screen and add this code up at the top, underneath the snthesize code (if you don't do this, when you go back the previous screen will appear in landscape mode as well) - -(BOOL)shouldAutorotate { return YES; } -(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskPortrait; }
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 05:14 AM (12 years ago)
What can I say man??? You are the best….Thank you very much. I'll try it and post the results!!!
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 06:36 AM (12 years ago)
unfortunately my friend…this doesn't seem to work! I also tried to change itemNickname to mine but nothing changed also… :( If you want I can give you my config.txt to see my parameters and send me the above code as it should be exactly, in case I made an error which I cannot locate. Thanks
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 08:05 AM (12 years ago)
Did you test this on a device/simulator running 6.0?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 08:15 AM (12 years ago)
yes on a device running 6.1.2 on simulator running 6.0 on simulator running 5.1
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 08:22 AM (12 years ago)
on simulator running 5.1 it's working after I rerotate ( It didn't work because I had the emulator on landscape mode and kept navigating through the app)
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 11:56 AM (12 years ago)
if you want to email me your project I could check it out - [email protected]
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 06:22 PM (12 years ago)
you have an email
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 08:23 PM (12 years ago)
Ok, I got it - what exactly are you trying to accomplish? I see a button home screen menu with an rss screen button. Do you want the rss screen to rotate and the home menu to stay in portrait?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/30/13 09:03 PM (12 years ago)
yes exactly…if you read some rss articles there are some videos…I would like them to be rotated…if there isn't an option only for videos, then the rss screen
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 09:32 PM (12 years ago)
K I'm working on it...I discovered the first problem, which was an error with my instructions. What I meant to post as the code for your delegate was this - if ([[BT_strings getStyleValueForScreen:self.rootApp.currentScreenData nameOfProperty:@"navBarTitleText" defaultValue:@""] isEqualToString:@"YOUR_NAV_BAR_TEXT"]) So..the final working code for your project looks like this - //supportedInterfaceOrientationsForWindow... -(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"supportedInterfaceOrientationsForWindow %@", @""]]; //allow / dissallow rotations BOOL canRotate = FALSE; //appDelegate sfedonagr_appDelegate *appDelegate = (sfedonagr_appDelegate *)[[UIApplication sharedApplication] delegate]; if ([[BT_strings getStyleValueForScreen:self.rootApp.currentScreenData nameOfProperty:@"navBarTitleText" defaultValue:@""] isEqualToString:@"sfedona"]){ canRotate = TRUE; }else{ if([appDelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE; }else{ //should we prevent rotations on small devices? if([appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"]){ if([[appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"] isEqualToString:@"largeDevicesOnly"]){ NSLog(@"%@", @"SHOULD NOT ROTATE"); canRotate = FALSE; } } } } NSUInteger mask = 0; mask |= UIInterfaceOrientationMaskPortrait; if(canRotate){ mask |= UIInterfaceOrientationMaskLandscapeLeft; mask |= UIInterfaceOrientationMaskLandscapeRight; mask |= UIInterfaceOrientationMaskPortraitUpsideDown; } return mask; }
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 09:39 PM (12 years ago)
K I added these lines - -(BOOL)shouldAutorotate { return YES; } -(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskPortrait; } -- to your menu_Buttons.m as per my original instructions...everything is working now
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/30/13 09:44 PM (12 years ago)
One last thing - for this to work on anything before iOS 6 you will need to replace the entire shouldAutorotateToInterfaceOrientation method in BT_viewController.m with this - //should rotate -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"shouldAutorotateToInterfaceOrientation %@", @""]]; //allow / dissallow rotations BOOL canRotate = FALSE; //appDelegate sfedonagr_appDelegate *appDelegate = (sfedonagr_appDelegate *)[[UIApplication sharedApplication] delegate]; if ([[BT_strings getStyleValueForScreen:self.screenData nameOfProperty:@"navBarTitleText" defaultValue:@""] isEqualToString:@"sfedona"]){ canRotate = TRUE; }else{ if([appDelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE; }else{ //should we prevent rotations on small devices? if([appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"]){ if([[appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"] isEqualToString:@"largeDevicesOnly"]){ canRotate = FALSE; } } } } //can it rotate? if(canRotate){ return YES; }else{ return (interfaceOrientation == UIInterfaceOrientationPortrait); } //we should not get here return YES; } it's basically the exact same logic as the code for your app delegate - it's just that anything less than iOS 6 will look in BT_viewController for rotation instructions I'll email your project back to you
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/31/13 09:15 AM (12 years ago)
you are great, man… thank you so so much…wonderful work there...
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/07/13 04:59 PM (12 years ago)
Hey Absentia, I was pretty excited about this, as I am looking for this for a long time. Tried your code but getting some major errors: http://www.appkingz.de/images/rotation.png I would need the rotation for video too and would need it for many screens. Probably easier for me to tell al the screens to rotate apart from 3 or 4. I would really appreciate your help here!
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/07/13 05:39 PM (12 years ago)
funny enough it does work as soon as I have the app on my iPhone. So it gives all these errors as on my above screenshot and will not let me debug, but runs if I disconnect from xcode.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
05/07/13 05:48 PM (12 years ago)
It's crashing there because you have a breakpoint enabled (in other words, you are telling it to crash there). See that little blue arrow on line 1,204? Right click it and delete and all should be well
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/07/13 05:53 PM (12 years ago)
lol, how could I not see that ;-) THANKS :-) Any idea how I can use your code on my other 200 screens, or is there an easier way?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/08/13 04:00 AM (12 years ago)
oO doesn't seem to look good for me if you don't answer immediately. Think the only way for me is to tell everything to rotate apart from a few screens, but no clue how to adapt your code.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
05/08/13 02:08 PM (12 years ago)
Sorry, what exact rotation functionality are you trying to implement into your app?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/08/13 02:15 PM (12 years ago)
my app has over 200 custom html screens with youtube videos (iframe embedded). These should be able to rotate but the "button menu" and the "menu with image" screens shouldn't, as that really looks bad.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/08/13 05:53 PM (12 years ago)
really hoping and waiting for an answer from you Absentia. If you cant figure it out, please let me know too, hope you will though.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
05/08/13 06:44 PM (12 years ago)
my email was hacked yesterday so I've been sidetracked setting up a new email account. I haven't been keeping very good track of incoming buzztouch messages So if I'm understanding correctly, you should be able to specify the screen by its type instead of its navigation bar text to accomplish what you want for example, this is the code I posted - if ([[BT_strings getStyleValueForScreen:self.screenData nameOfProperty:@"navBarTitleText" defaultValue:@""] isEqualToString:@"Your_Nav_Bar_Text"]) for what you want, it should work if you change it to this - if ([[BT_strings getStyleValueForScreen:self.screenData nameOfProperty:@"itemType" defaultValue:@""] isEqualToString:@"BT_screen_customHTML"]) that way it will apply the code to every html screen
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/09/13 02:16 AM (12 years ago)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/09/13 04:07 AM (12 years ago)
1 Million Kudos for you Absentia :-) Finally this is solved :-) The code part that works in the appDelegate.m is: if ([[BT_strings getStyleValueForScreen:self.rootApp.currentScreenData nameOfProperty:@"itemType" defaultValue:@""] isEqualToString:@"BT_screen_customHTML"]){ The part in the BT_viewcontroller.m is: if ([[BT_strings getStyleValueForScreen:self.screenData nameOfProperty:@"itemType" defaultValue:@""] isEqualToString:@"BT_screen_customHTML"]){ This belongs in the how-to section! Thx again and nice weekend :-)
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/27/13 11:32 PM (12 years ago)
Hi Absentia, Thanks for your great tips. I couldn't get it to work. My objective is to make image gallery plugins to rotate for landscape & portrait mode. The rest of the screens stay in portrait. So far I have edited my.appDelegate.m, BT_navigationController.m, BT_tabBarController.m, and BT_screen_images.m based your instruction. Xcode console has an output message in below when I rotated my iphone's orientation: my_appDelegate: supportedInterfaceOrientationsForWindow SHOULD NOT ROTATE Self host iOS: 6.0 Any help would be greatly apprecaited, Regards, Cyrus
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/28/13 03:17 AM (12 years ago)
what is your screen type?
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 03:26 AM (12 years ago)
Hi LeonG, It's good to hear from you. Screen type is BTM Image gallery. Regards, Cyrus
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/28/13 03:31 AM (12 years ago)
well as my screen type I needed rotation for was "BT_screen_customHTML", replace it with yours in the code I posted above and doing all the steps from Absentia and you will be fine.
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 03:50 AM (12 years ago)
Weird, that's exactly what I did. I have no errors when it compile. But the photos in the image gallery just won't rotate. Maybe I was missing something. I tried with other screen type, ie menu buttons, but still with no luck.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/28/13 03:56 AM (12 years ago)
post your code part from the appdelegate and viewcontroller like I did in my posting please.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 03:58 AM (12 years ago)
take a look at the forum mentioned above from me... https://www.buzztouch.com/forum/thread.php?tid=AC9F90E72962E3E7595AAAF&command=isSearching&currentPage=1&topicTitle=rientation&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory= you might find your answer. The problem is that when you go back to the previous screen and your device is in landscape mode, all screens are in landscape orientation, until you turn your device in portrait mode. Still trying to find a solution to that... ( Absentia is working on this - I hope)
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 04:22 AM (12 years ago)
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 04:25 AM (12 years ago)
when you press back, does the app autorotate in portrait mode, or is it still in landscape?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/28/13 04:29 AM (12 years ago)
your bt_viewcontroller.m code is wrong. Compare the code with my code from my posting!
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 04:33 AM (12 years ago)
@LeonG Are you answering my question?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
05/28/13 04:46 AM (12 years ago)
it is still in landscape
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 04:47 AM (12 years ago)
mmmm that's my problem my friend...
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 04:53 AM (12 years ago)
Hi LeonG, Thanks to you for the debug. I have changed the viewController based on your posting. Still no luck. Any other thought? Regards, Cyrus https://dl.dropboxusercontent.com/u/20163884/screen_ratation/5.jpg
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 05:00 AM (12 years ago)
at mine the lines are the following: //should rotate -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"shouldAutorotateToInterfaceOrientation %@", @""]]; //allow / dissallow rotations BOOL canRotate = FALSE; //appDelegate korinthia_appDelegate *appDelegate = (korinthia_appDelegate *)[[UIApplication sharedApplication] delegate]; if([appDelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE; }else{ //should we prevent rotations on small devices? if([appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"]){ if([[appDelegate.rootApp.jsonVars objectForKey:@"allowRotation"] isEqualToString:@"largeDevicesOnly"]){ canRotate = FALSE; } } } //can it rotate? if(canRotate){ return YES; }else{ return (interfaceOrientation == UIInterfaceOrientationPortrait); } //we should not get here return YES; } try to substitute the name of the app with yours... (instead of korinthia put your app name)
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 05:12 AM (12 years ago)
Thank you Georgios. I have tried your code, too. Still no luck. Just a curiosity, do I have the correct code used in BT_screen_images.m and BT_navigationController.m?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/28/13 08:16 AM (12 years ago)
I think I found the error. When you refer to your plugin don't write "bt_screen_images" but instead use: "BT_screen_images". Be aware of the capitalization!!!! By the way...which plugin is this?
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 08:24 AM (12 years ago)
Thanks Georgios. I'll give it a try. It's from buzztouchmods.com. The third party image gallery plugins works for both iOS and Android.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
05/28/13 12:07 PM (12 years ago)
@Cyrus - Is your app using a tab layout?
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/28/13 04:19 PM (12 years ago)
@ Georgios, Thank you for your time to debug. I have changed "BT"_screen_images to upper case. Still getting the same result. Weird... @Absentia, its good to hear from you. Yes, I was using a tab layout.
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/29/13 08:15 AM (12 years ago)
Hey Guys, I'm still stuck in here. Any help would be nice. Thanks in advance. In xcode debug consult. It does have different output message. Other screen type display 2013-05-30 01:09:54.302 myappdomain[2550:907] myappdomain_appDelegate: supportedInterfaceOrientationsForWindow 2013-05-30 01:09:54.305 myappdomain[2550:907] SHOULD NOT ROTATE Image gallery screen type display 2013-05-30 01:10:57.052 myappdomain[2550:907] myappdomain_appDelegate: supportedInterfaceOrientationsForWindow
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
05/29/13 11:33 AM (12 years ago)
If you are using a tab layout, then all of the code you are pasting in viewController.m should instead be going into tabBarController.m. You will find a similar block of code in tabBarController.m to paste that same code over
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
05/29/13 07:04 PM (12 years ago)
@ LeonG, Georgios, Absentia. Thank you so much .You guys are brilliant!! Finally it works. When I press "back" navigation, it seems like all my other screens is in landscape mode (It looks pretty awful, my design was made in portait) Does anyone here knows how to make this to auto rotate back in portait?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
05/31/13 12:15 PM (12 years ago)
that's the step we're stuck on!!!!
 
Djdios
Lost but trying
Profile
Posts: 175
Reg: Mar 20, 2013
Valby, Denmark
3,550
like
07/10/13 11:33 AM (11 years ago)
Did you guys come any closer with this?
 

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.