Is applicationDidReceiveMemoryWarning obsolete now?
Is applicationDidReceiveMemoryWarning obsolete now?
- Subject: Is applicationDidReceiveMemoryWarning obsolete now?
- From: Andreas Falkenhahn <email@hidden>
- Date: Fri, 23 Dec 2016 16:07:46 +0100
Apple's docs on applicationDidReceiveMemoryWarning say that
It is strongly recommended that you implement this method. If your app
does not release enough memory during low-memory conditions, the system
may terminate it outright.
However, when creating a new "Single View Application" for iOS, Xcode 8.2 doesn't
create a stub for applicationDidReceiveMemoryWarning. It only creates stubs
for other delegate methods like applicationDidBecomeActive and so on.
An old app of mine which I created with Xcode 3.2 still has the applicationDidReceiveMemoryWarning
stub, though, but Xcode 8.2. doesn't seem to create it any more. Is this done
on purpose? But why do the docs stress the importance of implementing this
delegate method then?
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden