<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>questbeat</author_name>
  <author_url>https://blog.hatena.ne.jp/questbeat/</author_url>
  <blog_title>a.out</blog_title>
  <blog_url>https://questbeat.hatenablog.jp/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Objective-C</anon>
  </categories>
  <description>iOS 8 では、写真を削除しても30日以内であれば元に戻すことができる機能 (Recently Deleted アルバム) が追加されました。 この機能の影響なのか、iOS 8 beta では ALAssetsGroup の numberOfAssets が正しい数を返してくれないバグ(?)が発生しています。 iOS シミュレータに最初から入っている5枚の写真のうち1枚を削除して下のコードを実行すると確認できます。 @import AssetsLibrary; ALAssetsLibrary *assetsLibrary = [[ALAssetsLibrary alloc] init]; […</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquestbeat.hatenablog.jp%2Fentry%2F2014%2F09%2F02%2F154904&quot; title=&quot;iOS 8 beta の AssetsLibrary のバグとその対処法 - a.out&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>2014-09-02 15:49:04</published>
  <title>iOS 8 beta の AssetsLibrary のバグとその対処法</title>
  <type>rich</type>
  <url>https://questbeat.hatenablog.jp/entry/2014/09/02/154904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
