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.
有没有办法将 a 转换MKPolygon为 a UIBezierPath?我有一个MKPolygon使用纬度和经度坐标来组成它的点。这些纬度/经度坐标如何转换为 a 上的坐标UIView?
MKPolygon
UIBezierPath
UIView
MKPolygon *myPolygon; MKPolygonView *polygonView = [[MKPolygonView alloc] initWithPolygon:myPolygon]; UIBezierPath *myBezierPath = [UIBezierPath bezierPathWithCGPath:polygonView.path];