Oh, I find the same problem by cocos2d. At the end, that is because of the height version 4.x !
then I do these
if( [[[UIDevice currentDevice] systemVersion] compare:@“4.0” options:NSNumericSearch] == NSOrderedAscending )
[window addSubview:viewController.view];
else
window.rootViewController = viewController;