Bug 27621 - Pin infobox click not working in iOS
Summary: Pin infobox click not working in iOS
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.5
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-03-03 20:18 UTC by karl.kopp
Modified: 2015-04-12 03:58 UTC (History)
13 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description karl.kopp 2015-03-03 20:18:23 UTC
On iOS, the pin.Clicked event does not fire. To repro:

1 - Open sample WorkingWithMaps
2 - Update nuget references.
3 - in PinPage.cs, update the code as follows, adding the pin.Clicked event:

var position = new Position(36.9628066,-122.0194722); // Latitude, Longitude
var pin = new Pin {
	Type = PinType.Place,
	Position = position,
	Label = "Santa Cruz",
	Address = "custom detail info"
pin.Clicked += (sender, e) => {
	DisplayAlert("Clicked", "Pin clicked", "cancel");

On Android, click the pin to see the pop up dialog. Click the popup dialog shows the alert.
On iOS, click the pin to see the popup dialog. Click the popup dialog does nothing.
Comment 1 michael.eakins 2015-03-06 10:44:17 UTC
This issue appears to have been touched upon in the similar bug citation:


We are seeing this issue as well and are unable to execute any code inside the pin.clicked event.

The click itself appears to work although, no additional code can be executed as a result of the click.

We are looking forward to a fix for this.
Comment 3 Dominic N [MSFT] 2015-03-06 15:28:26 UTC
I can confirm this on 1.4.0-pre2 using the attached sample case along with the reproduction steps from the original post.

## Steps to reproduce:

1. Run app on Android
2. Navigate to the pins page
3. Click pin to see the pop up dialog
4. Click on the popup dialog
5. Run app on iOS
6. Navigate to the pins page
7. Click pin to see the pop up dialog
8. Click on the popup dialog

## Expected results

Android and iOS both pop up alerts

## Actual results

Android pops up alert, iOS does nothing
Comment 4 Christopher Svanefalk 2015-03-08 08:54:29 UTC
Confirming this on It works fine on Android, however. For now it is a dealbreaker since it removes crucial functionality from Map.


Xamarin Studio
Version 5.7.2 (build 7)
Installation UUID: fb249e80-2b94-4e1a-bb82-1f0a76379e63
	Mono 3.12.0 ((detached/b8f5055)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000077

Version: (Business Edition)
Android SDK: /Users/csvanefalk/Library/Developer/android-sdk-osx
	Supported Android versions:
		1.6    (API level 4)
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Apple Developer Tools
Xcode 6.1.1 (6611)
Build 6A2008a

Version: (Business Edition)
Hash: 3b3ef43
Build date: 2015-01-24 09:42:21-0500

Not Installed

Build Information
Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 09:14:27-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef

Operating System
Mac OS X 10.10.2
Darwin Christophers-MacBook-Pro.local 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 5 alberto.aragao 2015-03-16 14:44:01 UTC
Any update on this issue? We are working on an app that needs this feature and this bug is already open for a long time. Thanks.
Comment 6 julio 2015-04-07 11:34:13 UTC
Any update?
Comment 7 karl.kopp 2015-04-07 18:07:07 UTC
I have tested this in latest (1.4.2-pre2) and can confirmed it is now fixed.
Comment 8 srobbins103 2015-04-12 03:58:02 UTC
I still see a problem in 1.4.2-pre2 - please see project to reproduce here: https://forums.xamarin.com/discussion/comment/115289/#Comment_115289