- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
// Return YES if incoming orientation is Portrait
// or either of the Landscapes, otherwise, return NO
return (toInterfaceOrientation == UIInterfaceOrientationPortrait) || UIInterfaceOrientationIsLandscape(toInterfaceOrientation);
}
什么的 '||'在这里呢?'||'在客观的C?
''||手段或(布尔) –
认真.....? (答案在你自己的代码样本中) – Jeroen
你可以很容易地找到这个问题,而不要问这里... –