iOS6 Interface Orientation
//less than iOS5 is OK [self.window addSubview:rootViewController.view]; // greater than iOS6 is OK self.window.rootViewController = rootViewController;
//less than iOS5 is OK [self.window addSubview:rootViewController.view]; // greater than iOS6 is OK self.window.rootViewController = rootViewController;