fivenine-zurich/UnifiedMaps

[Bug iOS] The PinInfoViewClicked Event are not fired

Phenek opened this issue · 0 comments

Description

The PinInfoViewClicked is not fired

Step to reproduce

If we don't set the Obsolete PinCalloutTappedCommand, the new PinInfoViewClicked event is never fired.
But if we set the PinCalloutTappedCommand the event is fired.

Code

it's about this in the delegate file ligne 65

if (annotationView.CanShowCallout
                    && _renderer.Element.PinCalloutTappedCommand != null
                    && pinAnnotation.Data != null)
                {
                    annotationView.RightCalloutAccessoryView = UIButton.FromType(UIButtonType.DetailDisclosure);
                }