问题描述:

I'm using this method but not called-

- (BOOL)shouldAutorotateToInterfaceOrientation(UIInterfaceOrientation)interfaceOrientation

- (BOOL)shouldAutorotate

- (NSUInteger)supportedInterfaceOrientations

网友答案:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
  return NO;
}

this code will help you to disable rotation of entire view hierarchy..

相关阅读:
Top