{"id":24706,"date":"2019-03-22T15:41:47","date_gmt":"2019-03-22T19:41:47","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=24706"},"modified":"2019-03-22T15:41:47","modified_gmt":"2019-03-22T19:41:47","slug":"ios-12-changes-in-memory-accounting","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/03\/22\/ios-12-changes-in-memory-accounting\/","title":{"rendered":"iOS 12: Changes in Memory Accounting"},"content":{"rendered":"<p><a href=\"https:\/\/developer.apple.com\/news\/?id=03202019a\">Apple<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/news\/?id=03202019a\"><p>iOS 12 and tvOS 12 require apps to use memory far more efficiently than before. If you have difficulty reducing your app&rsquo;s memory requirements, <a href=\"https:\/\/developer.apple.com\/contact\/request\/memory-accounting\/\">contact us<\/a> to request an entitlement for your app to use iOS 11-style memory accounting.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/stroughtonsmith\/status\/1108386801985703936\">Steve Troughton-Smith<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/stroughtonsmith\/status\/1108386801985703936\">\n<p>An example of Apple providing private entitlements on request so that iOS apps can do things they could not otherwise; there are so many ways in which Apple could use these w\/ trusted partners to build categories of apps that would otherwise break rules<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/Padraig\/status\/1108468142731190272\">P&aacute;draig<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Padraig\/status\/1108468142731190272\"><p>This memory requirement is news to me. So great to hear about a change like this 6 months after it shipped.  Also there&rsquo;s no details I can find on what the rules are it&rsquo;s just &ldquo;use less memory&rdquo;. Really hate this platform sometimes. &#x1F625;<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/borland\/status\/1108463403327057920\">Orion Edwards<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/borland\/status\/1108463403327057920\">\n<p>The problem with extra entitlements like this is that apple is useless. We asked for the &ldquo;don&rsquo;t show Apple Pay pop up when you see NFC&rdquo; entitlement as it interferes with our app&rsquo;s behaviour over a month ago. No response from apple whatsoever<\/p>\n<p>We found a similar thing online, except their story was &ldquo;apple ignored me for over a month, but then I asked my friend who works at apple to have a look and then it got dealt with.&rdquo; It&rsquo;s hard to have a handy friend who works at apple when you live in New Zealand &#x1F61E;&#x1F44E;<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/agrant\/status\/1108534284367941632\">Andrew Grant<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/agrant\/status\/1108534284367941632\">\n<p>To be fair, this is them grandfathering in existing apps after they made significant changes to available memory in iOS 12. There are a lot of apps that are still submitting with the old SDK due to this change<\/p>\n<\/blockquote>\n\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2018\/11\/16\/transmit-5-on-the-mac-app-store\/\">Transmit 5 on the Mac App Store<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Apple: iOS 12 and tvOS 12 require apps to use memory far more efficiently than before. If you have difficulty reducing your app&rsquo;s memory requirements, contact us to request an entitlement for your app to use iOS 11-style memory accounting. Steve Troughton-Smith: An example of Apple providing private entitlements on request so that iOS apps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-03-22T19:41:50Z","apple_news_api_id":"41042a57-17fe-4e6c-89d7-921cf1f603c3","apple_news_api_modified_at":"2019-03-22T19:41:51Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AQQQqVxf-TmyJ15Ic8fYDww","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[466,164,31,1610,1056],"class_list":["post-24706","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-codesigning","tag-documentation","tag-ios","tag-ios-12","tag-ram"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=24706"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24706\/revisions"}],"predecessor-version":[{"id":24707,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24706\/revisions\/24707"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=24706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=24706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=24706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}