<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simamikiii</author_name>
  <author_url>https://blog.hatena.ne.jp/simamikiii/</author_url>
  <blog_title>お？いけるくさい？</blog_title>
  <blog_url>https://montan.hateblo.jp/</blog_url>
  <categories>
    <anon>ViewWillAppear</anon>
  </categories>
  <description>「viewDidLoadでapiを投げて、そのapiの成功と同時に次のapiを呼ぶ」 という処理にしているはずなのに、 その前に別のapiが呼ばれているという報告を受けて そんなはずはなーーい！(ω･｀))ｷｮﾛ(( ´･ω)なぜ？ と原因を探ったところ、 なんと、viewWillAppearだった... 今回タブバーで画面を切り替えているので、 初回読み込み時じゃなくて 毎回読み込み時に呼びたいapiを viewWillAppearで投げる実装にしていたところ、 viewDidLoadが走る前にviewWillAppearが呼ばれてしまっていた... 失礼しました。 viewWillAppe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmontan.hateblo.jp%2Fentry%2F2012%2F10%2F10%2F120754&quot; title=&quot;viewWillAppearに注意 - お？いけるくさい？&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>2012-10-10 12:07:54</published>
  <title>viewWillAppearに注意</title>
  <type>rich</type>
  <url>https://montan.hateblo.jp/entry/2012/10/10/120754</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
