A list of methods and functions to use when optimizing your iOS application for performance.
- snapshotViewAfterScreenUpdates: (returns a snapshot view based on the contents of the current view)
- NSProcessInfo.thermalState (check whether the device is already working hard)
- UIDevice.batteryState (check whether the battery is full, charging or unplugged)
- UIDevice.batteryLevel (determine the charge level of the battery)
- NSProcessInfo.isLowPowerModeEnabled (check whether or not the user is trying to spare the battery)
- UIAccessibilityIsReduceMotionEnabled() (is the user sensitive to motion?)