<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hudmx</author_name>
  <author_url>https://blog.hatena.ne.jp/hudmx/</author_url>
  <blog_title>iOSコピペコーディング</blog_title>
  <blog_url>https://tazk.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>iPhone6sから搭載された3DTouchの圧力の検出方法です。UITouchのPropertyにforceとmaximumPossibleForceが追加されているので、適宜抽出します。押している最中の圧力を動的に取得する場合はtouchesMovedあたりで取ってやればOK。-(void)touchesMoved:(NSSet&lt;UITouch *&gt; *)touches withEvent:(UIEvent *)event{ UITouch *touch = [[event allTouches] anyObject]; double force = touch.force; double…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftazk.hatenablog.com%2Fentry%2F2015%2F09%2F26%2F054540&quot; title=&quot;3d Touchの圧力を検出 - iOSコピペコーディング&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-09-26 05:45:40</published>
  <title>3d Touchの圧力を検出</title>
  <type>rich</type>
  <url>https://tazk.hatenablog.com/entry/2015/09/26/054540</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
