<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Xcode</anon>
    <anon>Tips</anon>
  </categories>
  <description>コードからでもスクリーンショット風の画像を得ることができます。ステータスバーはUIApplicationのwindow外なのか、画像の中には含まれません。 CGContextを新たに作成し、アプリケーション内のWindowsの内容をそのコンテキストに描画していくという感じでキャプチャのようなことができます。コードは以下の通り。 - (void)captureScreen:(NSString*)savePath { UIWindow* window = [[UIApplication sharedApplication] keyWindow]; UIGraphicsBeginImageConte…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F03%2F18%2F202606&quot; title=&quot;iPhoneアプリの画面をObjective-Cでキャプチャ - ぴよログ&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://www.evernote.com/shard/s15/sh/0dfda19d-5ff6-4abb-86f3-29e8bbbf3a1c/6b622c79485e99b7810120eee9617cf3/deep/0/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2014-03-17-22-49.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-18 20:26:06</published>
  <title>iPhoneアプリの画面をObjective-Cでキャプチャ</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/03/18/202606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
