I have two views one of them is in landscape and other in portrait. The default orientation is landscape. When i change the view from landscape to portrait using
[[CCDirector sharedDirector] setDeviceOrientation:CCDeviceOrientationLandscapeRight];
While graphics are rotating perfectly, I'm having issue with the touch screen. Can anyone please help me with this issue?
That was so easy, Solved my problem by just converting the touch points to GL
CGPoint convertedLocation = [[CCDirector sharedDirector]convertToGL:point];