Most apps can move to the extended state easily enough but there are also legitimate reasons for apps to continue running in the background. An audio app might need to continue playing music over the lock screen. Other apps might want to download content in the background so that it can minimize the delay in presenting that content to the user. When found necessary to keep an app running in the background, iOS helps to do so efficiently and without draining system resources or the user’s battery.  

The Techniques Used by iOS fall into three categories:

Apps that start a short task in the foreground can ask for time to finish that task when the app moves to the background.

Apps that initiate downloads in the foreground can hand off management of those downloads to the system, thereby allowing the app to be suspended or terminated while the download continues.

Apps that need to run in the background to support specific types of tasks can declare their support for one or more background execution modes.

Why Does Android Lag?

Android is laggy is the way it treats UI rendering. While on iOS UI rendering happens in a separate thread with real-time priority, on Android this happens in the main thread with normal priority. This, of course, means that other apps can take over your processor resources and hurt basic UI interactions, translating into a noticeable lag. This Can Be Seen with the difference between Safari and the Android browser – if you tap and hold into the Safari window while it’s loading a webpage, the loading process stops, as UI rendering has the highest priority and takes over. The result is that the web page will not load until you lift your finger off, but the UI will remain buttery smooth all the time. Android has a radically different approach – it will try to maintain a reasonable response rate for the UI and load the web page, but often the frame rates would drop causing a visible lag. So, I hope you understood why our ios takes less RAM to work efficiently that that of Android. Thanks for reading our article do share your views in the comment section below.  

Δ

Why Does The IPhone Need So Much Less RAM Than Android Devices  - 4Why Does The IPhone Need So Much Less RAM Than Android Devices  - 30Why Does The IPhone Need So Much Less RAM Than Android Devices  - 44Why Does The IPhone Need So Much Less RAM Than Android Devices  - 7Why Does The IPhone Need So Much Less RAM Than Android Devices  - 82Why Does The IPhone Need So Much Less RAM Than Android Devices  - 84