Open GoogleCodeExporter opened 9 years ago
Workaround is
https://github.com/cocos2d/cocos2d-iphone/commit/19527d0839ebad444ace898792fb6ee
384a14fe8
Original comment by marcotil...@gmail.com
on 10 Oct 2012 at 1:00
Okay this is more of a iOS4 and 5 problem than cocos. For supporting both
orientations, two view controllers are recommended, each tell the view how to
layout for their respective orientation.
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPho
neOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.h
tml#//apple_ref/doc/uid/TP40007457-CH7-SW1
I've updated the workaround, but this isn't a fully working example on how to
support both orientations.
https://github.com/cocos2d/cocos2d-iphone/commit/f4267f9eb14bc8d7fbd54230b12adda
91e5b7b56.
Original comment by marcotil...@gmail.com
on 10 Oct 2012 at 2:08
Original issue reported on code.google.com by
marcotil...@gmail.com
on 10 Oct 2012 at 12:44