[ios] fixes #8522: don't alter tint color on annotation views (#8789)

This commit is contained in:
Justin R. Miller
2017-04-21 11:50:34 -07:00
committed by GitHub
parent ed51462428
commit 43cc8dbdb8

View File

@@ -1162,6 +1162,9 @@ public:
- (void)updateTintColorForView:(UIView *)view
{
// stop at recursing container & annotation views (#8522)
if ([view isEqual:self.annotationContainerView]) return;
if ([view respondsToSelector:@selector(setTintColor:)]) view.tintColor = self.tintColor;
for (UIView *subview in view.subviews) [self updateTintColorForView:subview];