<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>iOS7対応のアプリをSwiftで開発する時の話です。 元ネタはこちら。UIAlertView is crashing app on iOS 7 swift - UIAlertView is crashing app on iOS 7 - Stack Overflow上記記事にあるように、下記のソースコードでiOS7,8の判定をしてはいけません。 if let gotModernAlert: AnyClass = NSClassFromString(&quot;UIAlertController&quot;) { //iOS 8 } else { //iOS 7 } iOS7端末で上記ソースコードありの状態でip…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2015%2F01%2F30%2F164922&quot; title=&quot;UIAlertViewとUIAlertControllerの判別方法を誤るとクラッシュします - Life is Really Short, Have Your Life!!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-30 16:49:22</published>
  <title>UIAlertViewとUIAlertControllerの判別方法を誤るとクラッシュします</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2015/01/30/164922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
