Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iOS 6 layout (issue #69) #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sam899
Copy link

@sam899 sam899 commented Oct 20, 2012

Fixes the issues noted in discussions of issue #69 with layout of view controllers in iOS 6

@cherukkayi
Copy link

Try this,

#if __IPHONE_OS_VERSION_MAX_ALLOWED > 6000
[window setRootViewController:splitViewController];
#else
[window addSubview:splitViewController.view];
#endif

in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions. :)

It works for me. :)

@niveus
Copy link

niveus commented Dec 23, 2012

Thanks Sam. That worked for me too

@Jeswang
Copy link

Jeswang commented Mar 31, 2014

Worked for me too, but didn't get the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants