<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gupuru</author_name>
  <author_url>https://blog.hatena.ne.jp/gupuru/</author_url>
  <blog_title>Three.jsを使って、作ってみた</blog_title>
  <blog_url>https://gupuru.hatenablog.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>今回は、swiftで、画面の高さから機種を判定する方法を書きます。 つまり、画面の高さを取得して、その値からiPhone5なのかiPhone6なのかを判定します。こんな感じに書きます。 // アプリ実行端末のディスプレイサイズの高さを取得 let display: CGRect = UIScreen.mainScreen().bounds if (display.size.height == 568) { // iPhone 5 の場合 println(&quot;5&quot;) } else if (display.size.height == 667) { // iPhone 6 の場合 println(&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgupuru.hatenablog.jp%2Fentry%2F2015%2F01%2F26%2F003319&quot; title=&quot;Swift　機種判定をする - Three.jsを使って、作ってみた&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>http://cdn-ak.f.st-hatena.com/images/fotolife/g/gupuru/20150126/20150126002826.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-26 00:33:19</published>
  <title>Swift　機種判定をする</title>
  <type>rich</type>
  <url>https://gupuru.hatenablog.jp/entry/2015/01/26/003319</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
