im having a problem with the landscape rotation while im working with cocos2d and cocosbuilder.
I have iPhone Landscape and iPhone5 Landscape on my cocosbuilder project And on the xcode Suported Interface Orientations i only have the landscape selected.
on my appDelegate.m i have:
-(NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskLandscape;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}
this should be really simple, but im having a hard time here, and really don't want to re-assemble my game again without using cocosbuilder