<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xyk</author_name>
  <author_url>https://blog.hatena.ne.jp/xyk/</author_url>
  <blog_title>xyk blog</blog_title>
  <blog_url>https://xyk.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>環境：iOS SDK 7.1 UITableView (UIScrollView のサブクラス)でスクロールの位置を一番上に戻すやり方。 方法1. UIScrollView のcontentOffsetを設定する contentOffsetにcontentInset.top分を差し引いたオフセット(iOS7なら-64px)を設定する self.tableView.contentOffset = CGPointMake(0, -self.tableView.contentInset.top); そもそもcontentOffsetとは、内容部の矩形の左上を0, 0として、そこから何ポイントずれたと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyk.hatenablog.com%2Fentry%2F2014%2F09%2F22%2F193701&quot; title=&quot;UITableViewのスクロール位置を一番上に戻す - xyk blog&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/x/xyk/20140922/20140922193630.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-22 19:37:01</published>
  <title>UITableViewのスクロール位置を一番上に戻す</title>
  <type>rich</type>
  <url>https://xyk.hatenablog.com/entry/2014/09/22/193701</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
