Зависит от того, что вы пытаетесь сделать. Если вы просто хотите изменить ориентацию ваших представлений, чтобы они соответствовали устройству, то реализуйте willRotateToInterface и shouldAutorotateToInterfaceOrientation в вашем viewController. Это намного проще, чем все остальное. В случае mustAutorotateToInterfaceOrientation вы должны вернуть YES для каждой ориентации, которую вы готовы принять. Вот как выглядит процедура:
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeRight));
}