【发布时间】:2022-08-24 18:30:12
【问题描述】:
我想显示用户将手机转到哪一侧,例如在 MapView 上,并且无法理解如何做到这一点,我尝试使用这些选项,但它们无法帮助我:
mapView.showsUserLocation = true
mapView.isRotateEnabled = true
mapView.isPitchEnabled = true
mapView.showsCompass = true
mapView.userTrackingMode = .follow
-
这就是所谓的“标题”。
标签: ios swift mkmapview cllocationmanager userlocation