appleのサンプルコードを見ていたら下記コードがあった。
こういうマクロあったんだなぁ。
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Ensure that the view controller supports rotation and that the split view can therefore show in // both portrait and landscape. // return YES; } #endif
参考:PageControl