<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rils_k</author_name>
  <author_url>https://blog.hatena.ne.jp/rils_k/</author_url>
  <blog_title>まだどこにもないアプリを作る</blog_title>
  <blog_url>https://rils-k.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>Xcode</anon>
  </categories>
  <description>tableview の静的セルをタップした時の動作を実装するには didSelectRow内でindexPath.rowとindexPath.sectionの値をつかってif分岐することで実現できました 今回はこの画像の上から4つ目のセルをタップしたらアラートが出るまでを実装します。 override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { if indexPath.section == 3{ let title: String = &quot;このアプリを使用するには写真へのアクセス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frils-k.hatenablog.com%2Fentry%2F2018%2F12%2F10%2F051953&quot; title=&quot;swift static tableView で特定のセルをタップした時の反応を実装 - まだどこにもないアプリを作る&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuzurifa/20181210/20181210050229.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-10 05:19:53</published>
  <title>swift static tableView で特定のセルをタップした時の反応を実装</title>
  <type>rich</type>
  <url>https://rils-k.hatenablog.com/entry/2018/12/10/051953</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
