{"categories":["Objective-C","Xcode","iOS"],"author_name":"laplus-knsn","published":"2012-09-23 20:39:13","blog_url":"https://kaneshin.hateblo.jp/","description":"iOS\u3092Compatible\u5bfe\u5fdc\u3059\u308b\u3068\u304d\u306b\u5fc5\u8981\u304b\u306a\u3068\u601d\u3063\u305f NSString *currentDeviceOSVersion = [[UIDevice currentDevice] systemVersion]; NSLog(@\"%@\", currentDeviceOSVersion); \u3053\u308c\u3067\u3001NSString\u578b\u3067OS\u306eVersion\u304c\u308f\u304b\u308b\u306e\u3067\u3001\u3042\u3068\u306fif\u6587\u3068\u304b\u3067 if ([currentDeviceOSVersion integerValue] >= 6) { // procedure something... } else { // foo }","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaneshin.hateblo.jp%2Fentry%2F2012%2F09%2F23%2F203913\" title=\"iOS Device \u306e  OS version \u3092\u53d6\u5f97 - at kaneshin\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/laplus-knsn/","provider_url":"https://hatena.blog","image_url":null,"height":"190","provider_name":"Hatena Blog","blog_title":"at kaneshin","width":"100%","title":"iOS Device \u306e  OS version \u3092\u53d6\u5f97","version":"1.0","url":"https://kaneshin.hateblo.jp/entry/2012/09/23/203913","type":"rich"}