As it turns out, Apple really did a lot of work on optimizing the iOS 12 and improved the performance and speed while also reducing the memory consumption. This means that the existing devices, especially the next generation of A-series chip-driven new iPhones and iPads, will bring a qualitative leap forward.
In order to help ordinary users understand what aspects of iOS have improved, here are some of the key points to explain. The interested friends can also consult the "What's New in Cocoa Touch" document that was introduced during WWDC 2018.
In short, Apple conducted a thorough audit of all apps to determine if there were any issues with delays, scrolling, dropped frames, etc., and then ensured that these bugs were found and eliminated in existing code.
In addition, a Reddit user perfectly explained the content of Apple's speech and analyzed how iOS 12 (at least in theory) brought about a faster app experience.
Apple has been researching various methods to ensure that when users browse an app, the iPhone is ready to provide consistent performance without facing off frames or scrolling problems.
As you may have guessed, all this is related to how the device resources are used, namely CPU, GPU, memory, and even battery.
To avoid scrolling problems, the CPU preloads before displaying the next content. In the past, the CPU needed to perform both tasks at the same time. As a result, the experience may be slow.
Craig Federighi hinted during the presentation that after the optimization, the CPU has now been able to increase the speed of response, increase the constant rate of processing extra work, and return to idle as quickly as possible to ensure that battery life is not affected.
iOS 12 also significantly optimizes the auto-layout framework, allowing iOS to automatically arrange app elements on the screen, regardless of device type (such as iPhone/iPad), saving staff extra work.
In this way, iOS 12 cleverly freed up the resources of the CPU and GPU, allowing them to play a more important role elsewhere.
In addition, iOS 12 will also allow the app to use less memory when performing tasks.
Apple Insider details this improvement. It is called Automatic Backing Stores. By using the depth definition file instead of the contents inside, it can reduce memory usage.
For example, Apple showed a pair of color and grayscale photos on the stage, but both consumed the same amount of memory.
These bottom-level improvements will obviously make iOS 12 run better on new A12-based hardware.
The most gratifying thing is that Apple brought such a big surprise in the first beta version of iOS 12, which is much faster than iOS 11.4 and has almost no stability problems.
While Android vendors are desperately building on RAM capacity, Apple still values the optimized experience:
There are already a lot of Android flagship devices on the market with 6GB or even 8GB of RAM. However, with the A12 iPhone models introduced this year, the entry model may have 3GB of RAM, and the high-end models will also have 4GB of RAM.