I am creating an external window to match its uiscreen size from a custom class that inherits from nsobject. It works however the rotation is wrong. It is rotated from various corners - depending on some unknown factor. In the view controller implementation of the custom class I added
-(NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskAll;
}
-(BOOL)shouldAutorotate
{
return YES;
}
and the rotation happens on the external screen but the bounds are always wrong. It used to work previously but now not so much. How can I get the external screen to ignore device rotation and just be rotated properly to match the tv on the wall? Is that even the problem?