Skip to content

Commit

Permalink
add ios < 15 support
Browse files Browse the repository at this point in the history
  • Loading branch information
g4rb4g3 committed Jan 28, 2025
1 parent 7be20e3 commit 0f09c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNMBX/RNMBXMapView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ open class RNMBXMapView: UIView, RCTInvalidating {
if #available(iOS 15.0, *) {
self.mapView.preferredFrameRateRange = CAFrameRateRange(minimum: 1, maximum: Float(value))
} else {
// Fallback on earlier versions
self.mapView.preferredFramesPerSecond = value
}
}
}
Expand Down

0 comments on commit 0f09c19

Please sign in to comment.