Kohei's Tech Note

Notes about something I did not know before.

Monday, December 2, 2013

iPhoneのOSのバージョンをプログラムから取得する

こちらのスタックフローを参考にした。
→http://stackoverflow.com/questions/7848766/how-can-we-programmatically-detect-which-ios-version-is-device-running-on

NSStringで

[[UIDevice currentDevice] systemVersion]
で取得できる。
Posted by kohei at 10:35 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
kohei
UCF student pursuing the bachelor of computer science. I leave notes here about something I did not know before.
View my complete profile

Labels

  • AWS (3)
  • objective-C (29)
  • TED (1)
  • Tips (1)
  • ソーシャル目覚まし (1)
  • ラベル分け不可能 (4)
  • 開発ログ (5)
  • 雑感 (4)

Blog Archive

  • ▼  2013 (74)
    • ▼  December (6)
      • ローカライズでいろいろつまづいた
      • JASidePanelで左メニューが表示される際のデリゲートを作成する
      • NavigationBarを編集する
      • iPhoneのOSのバージョンをプログラムから取得する
      • iOS6で追加された「引き下げて更新」を使ってみた
      • JASidePanelsの使いかた
    • ►  November (8)
    • ►  October (12)
    • ►  September (12)
    • ►  August (2)
    • ►  July (6)
    • ►  June (1)
    • ►  May (1)
    • ►  April (15)
    • ►  March (6)
    • ►  February (5)
Simple theme. Powered by Blogger.