- Add `MGLMapView.preferredFramesPerSecond`, which can be set with the provided `MGLMapViewPreferredFramesPerSecond` enum values or directly with an integer. - Adaptively set the preferred FPS based on the capabilities of the device: the oldest and least powerful devices are now capped at 30 FPS, which results in a more consistent/smoother experience.
8 lines
124 B
Objective-C
8 lines
124 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface UIDevice (MGLAdditions)
|
|
|
|
@property (nonatomic, readonly) BOOL mgl_isLegacyDevice;
|
|
|
|
@end
|