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.
是否可以为 MKPinAnnotationView 颜色而不是默认的红色、绿色或紫色定义自定义颜色?医生说不...
谢谢
如果您想使用与标准颜色不同的注释,您应该创建自己的图像。 如果 Apple 的文档说不,你应该相信他们——即使有无证(使用私有 api)的方式来做某事,它也可能会导致你的应用被应用商店拒绝。
是的。这是可能的并且不涉及任何未记录的 API:
MKPinAnnotationView:是否有超过三种颜色可用?