By Khaled1989
on Wed, 06/20/2012 - 17:12
Dear All,
I used "UIViewController" to display a video on it based on the marker so i created:
ActionViewController.h
ActionViewController.m
ActionViewController.xib
and every thing working well but i need to autorotate it based on Iphone Orientation
so i used this method in ActionViewController.m
-----------------------------------------------
-(BOOL)shouldAutorotateToInterfaceOrientation(UIInterfaceOrientation)interfaceOrientation {
return YES && (interfaceOrientation ==UIInterfaceOrientationLandscapeRight);
}
-----------------------------------------------
but it doesn't work, although when i close the video the debugger write "ARParent: Rotating to Landscape Right"
What can i do?
Re: UIViewController Rotation
Re: UIViewController Rotation
Re: UIViewController Rotation