How do I disable rorate?
furueili opened this issue · comments
bill commented
as title thx
David Ng commented
Set rotationEnabled
false?
https://github.com/kishikawakatsumi/PEPhotoCropEditor/blob/master/Lib/PECropViewController.h#L26
bill commented
not worked....
below is my code
PECropViewController *controller = [[[PECropViewController alloc] init] autorelease];
[controller setRotationEnabled:NO];
-
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{return self.rotationEnabled;
}
bill commented