dotnet/maui

[iOS] Map pin InfoWindowClicked event is never fired

Open

#13,123 建立於 2023年2月5日

在 GitHub 查看
 (12 留言) (0 反應) (0 負責人)C# (23,245 star) (1,951 fork)batch import
area-controls-mapgood first issuepartner/syncfusionplatform/ioss/triageds/verifiedt/bug

描述

Description

Attempt to use pin.InfoWindowClicked on iOS. The event is never fired when the info window is clicked. Works correctly on Android.

Steps to Reproduce

  1. Open attached repo project and run the app.
  2. Set a breakpoint on the System.Diagnostics line where a message should be printed when the info window is clicked.
  3. Run the app and click on the marker - it will display an info window with some address details.
  4. Click on the info window and it simply disappears - the breakpoint is never hit.

Link to public reproduction project repository

https://github.com/smitha-cgi/InfoWindowTest.git

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15.5, 16

Did you find any workaround?

No

Relevant log output

dotnet workload list

Installed Workload Id      Manifest Version       Installation Source
---------------------------------------------------------------------
runtimes-windows           7.0.2/7.0.100          VS 17.5.33326.253
maui-windows               7.0.59/7.0.100         VS 17.5.33326.253
maui-maccatalyst           7.0.59/7.0.100         VS 17.5.33326.253
maccatalyst                16.2.1007/7.0.100      VS 17.5.33326.253
maui-ios                   7.0.59/7.0.100         VS 17.5.33326.253
ios                        16.2.1007/7.0.100      VS 17.5.33326.253
maui-android               7.0.59/7.0.100         VS 17.5.33326.253
android                    33.0.26/7.0.100        VS 17.5.33326.253

貢獻者指南