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.
我在注释视图中设置图像。并在两个引脚之间放置两个差异注释,然后注释视图框架无法正确调整。我希望注释底部触摸路径的开头和路径的结尾。
我尝试使用原生引脚将其放置在完美的位置。那么如何为自定义注释视图设置适当的框架。
我得到了解决方案,我像这样设置中心偏移。
customAnnotationView.centerOffset = CGPointMake(-10, -10);