9/12/2011

iOSのバージョン判定のSnippet

iOSのバージョンによって処理を変えたい時などに使うSnippet

NSString *versions = [[UIDevice currentDevice]systemVersion];
if ([versions compare:@"5.0"] != NSOrderedAscending) {
} else {
}

上の例はiOS5.0以上なら正とする場合の実装例。

1 件のコメント:

  1. Casino, Slots, & Table Games - Dr.MCD
    Try your luck at blackjack 밀양 출장안마 with us. Our casino is located in Las Vegas, 대구광역 출장안마 NV and offers 정읍 출장샵 over 900 slot machines 성남 출장샵 including favorites like Three Card Poker, 안성 출장안마

    返信削除