Hi X-Men/Women and MT gurus,
   I'm just in the process of finishing a little app, while on holiday, 
which makes use of MapKit.MKMapView. I've noticed that the 
CalloutAccessoryControlTapped event never fires on iPad, but works fine 
on iPhone/iPod devices.

The code used for all devices is...
if ( mkHandleMapViewCalloutAccessoryControlTapped != null )
             {
                 MapView.CalloutAccessoryControlTapped += 
mkHandleMapViewCalloutAccessoryControlTapped;
             }

And the assignment line is hit on both devices, but is ONLY fired on 
iPhone/iPod devices.

The variables are defined as...
public MKMapView MapView = null;
EventHandler<MKMapViewAccessoryTappedEventArgs> 
mkHandleMapViewCalloutAccessoryControlTapped;

Everything else in MKMapView seems to work on all devices.

Is anyone else seeing this? Do you have a work-around or am I supposed 
to set things up differently when handling call-outs on iPad devices?
Could this be an issue within MonoTouch?

Thanks in advance.


Dominique Louis.

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to