If you place an UIView in a window, and initialize cocos2d with that UIView, shouldn't the x and y coordinate system begin in the lower left corner of the UIView? It is that way if the iPhone is in the regular orientation, however if it's lying down, it gets like this:
http://dl.getdropbox.com/u/608462/cocos2d-uiview-bug.gif
If you rotate it to the other side, it becomes like this:
http://dl.getdropbox.com/u/608462/cocos2d-uiview-bug2.gif
Why?