I currently have a game where I am switching from UIScrollView+UIImageView to using Cocos2d with image textures. The problem seems to be that when using UIKit to autorotate the EAGLView, things get messed up. I have included links to two images of the app. One when not rotated and one when rotated. Because the EAGLView doesn't get created until the first time gameplay begins, things work great for the initial orientation whether it be portrait or landscape. However, after rotating things are always messed up.
Initial view
http://imgur.com/TIQN0
Rotated view
http://imgur.com/Pugno
After asking around a lot, I tried to do things like layoutSubviews, reshapeProjection, swapBuffers, etc. but can't seem to solve the problem. Has anyone seen this before and is there a solutions? Note that I don't see the problem in the simulator and my only device is a 2nd gen iTouch.