Skip to content

Commit b6f6abc

Browse files
authored
Update README.md
1 parent 398bf8d commit b6f6abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
an iOS swift Map ScaleView UI View component
44
<br><br>
5-
Development Target: iOS 10
5+
Development Target: iOS 14
66
<br><br>
77
Provide a scale view with iOS MKMapView:<br>
88
<img src="/rm_res/cut1.png" alt="图片替换文本" width="50%" height="50%" align="bottom" /><br><br>
@@ -32,7 +32,7 @@ import MapScaleView
3232
3333
let scale_view: UIMapScaleView
3434
35-
scale_view.mapScaleCalculator = mapView // setup with MKMapView
35+
scale_view.scaleCalculator = mapView // setup with MKMapView
3636
scale_view.outlineColor = UIColor.white
3737
scale_view.bodyColor = UIColor.black
3838
scale_view.direction = .leftToRight // set the bar start direction in leftToRight / rightToRight, default is leftToRight

0 commit comments

Comments
 (0)