Landscape Mode #7

adjwilli opened this Issue Jun 13, 2012 · 1 comment


None yet
2 participants

I found that using the code below for determining the orientation works better. In our app we force landscape mode - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation inside a normal modal view and limiting with. With the previous way, the TDSemiModal thought it was still in portrait.

UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];

reednj closed this in cdbdbbe Jul 28, 2012


reednj commented Jul 28, 2012

You were right, this is more reliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment