Fix iOS 6 layout (issue #69) #75

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants
@sam899

sam899 commented Oct 20, 2012

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

@cherukkayi

This comment has been minimized.

Show comment
Hide comment
@cherukkayi

cherukkayi Oct 22, 2012

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. :)

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

This comment has been minimized.

Show comment
Hide comment
@niveus

niveus Dec 23, 2012

Thanks Sam. That worked for me too

niveus commented Dec 23, 2012

Thanks Sam. That worked for me too

@Jeswang

This comment has been minimized.

Show comment
Hide comment
@Jeswang

Jeswang Mar 31, 2014

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

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