AI-generated Key Takeaways
-
GMSFrameRateis an enumeration that defines rendering frame rates forGMSMapView. -
kGMSFrameRatePowerSaveminimizes frame rate for battery conservation. -
kGMSFrameRateConservativeuses a moderate frame rate, balancing smoothness and processing power. -
kGMSFrameRateMaximumutilizes the highest possible frame rate for the device (30 or 60 FPS).
GMSFrameRate
enum GMSFrameRate : NSUInteger {}Rendering frame rates for GMSMapView.
-
Use the minimum frame rate to conserve battery usage.
Declaration
Swift
case powerSave = 0Objective-C
kGMSFrameRatePowerSave -
Use a median frame rate to provide smoother rendering and conserve processing cycles.
Declaration
Swift
case conservative = 1Objective-C
kGMSFrameRateConservative -
Use the maximum frame rate for a device. For low end devices this will be 30 FPS, for high end devices 60 FPS.
Declaration
Swift
case maximum = 2Objective-C
kGMSFrameRateMaximum