chschu / HexaFlip

A hexagonal board game for two players
1 stars 1 forks source link

UI elements invisible on iOS 7 beta >1 #11

Closed chschu closed 11 years ago

chschu commented 11 years ago

Starting with iOS 7 beta 2, the UI elements (buttons, etc.) are not visible. Futhermore, a transparent iOS status bar is shown.

chschu commented 11 years ago

This is a combination of an iOS feature and a cocos2d bug in CCMenu.

The position of menu items depends on the status bar height. However, CCMenu seems to use the wrong coordinate in landscape mode, and displaces the menu items to the off-screen area.

The buttons become visible again by disabling the status bar, using the UIViewControllerBasedStatusBarAppearance entry in Info.plist.