以下の内容はhttps://anton0825.hatenablog.com/entry/20131015/1386892359より取得しました。


iOSのバージョンを判定して実装を切り替える方法

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




以上の内容はhttps://anton0825.hatenablog.com/entry/20131015/1386892359より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14