更新时间:2023-01-03 11:29:58
如果注释显示在AnnotationView上试试代码:
If annotations are displayed over the AnnotationView try to code:
- (void)didMoveToSuperview {
[super didMoveToSuperview];
[self.superview bringSubviewToFront:self];
}
以防上述解决方案不起作用试试
Just in case above solution doesn't work try
view.layer.zposition = 1