Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能让我的图标的大小随着放大而缩放MKMapView?据我所知,没有办法做到这一点?
MKMapView
我唯一能想到的是拥有MKMapViewsome 的子视图UIView,并在此父视图中捕获所有用户输入,缩放缩放图像并中继到子视图。
UIView
您需要CGTransform对每个注释视图执行mapRegionChanged
CGTransform
mapRegionChanged