BUMP .. still havent figured this out, the thing rotates, but out of view. so weird. can i provide better information to get help?
STILL HAVING THIS ISSUE! its really bad i cant fix this :( help PLEASE
BUMP .. please im dieing here! someone anyone! :)
So, I'm using Monotouch.Dialog
and since IOS 6, the rotation of my splitview controller is acting weird.
It is actually rotating, but my detail view takes up the whole screen and the master view seems as if its being rotated off the screen frame. That is, I can see the master view for a split second when it rotates then it's gone, and the detail view takes the whole screen.
I've added the necessary ShouldAutorotate
function and set the GetSupportedInterfaceOrientations
since IOS 6. Like I said it rotates, but something is just off.
I've tried the IOS 5 simulator and it works, so it's definitely an IOS 6 problem.
Anyone have an idea where else I should look for the problem?
EDIT: I noticed while debugging that it doesnt go into the ShouldAutorotate override of my master and detail view, only in my split view controller it goes in. In iOS 5 it goes into ShouldAutorotateToInterfaceOrientation properly.
Here is the code i use in my Detail and Master views:
public override bool ShouldAutorotate()
{
return true;
}
[Obsolete]
public override bool ShouldAutorotateToInterfaceOrientation (MonoTouch.UIKit.UIInterfaceOrientation toInterfaceOrientation)
{
return true;
}
And here is the code i have in my SplitViewController:
public override bool ShouldAutorotate()
{
return true;
}
[Obsolete]
public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation requested)
{
return requested == UIInterfaceOrientation.LandscapeRight || requested == UIInterfaceOrientation.LandscapeLeft;
//return requested == UIInterfaceOrientation.Portrait || requested == UIInterfaceOrientation.PortraitUpsideDown;
}
public override bool ShouldAutomaticallyForwardRotationMethods {
get {
return true;
}
}
anyone please? i need this for my work and i cant solve this! any ideas would be helpful!