Thanks Rolf.

From: Rolf Bjarne Kvinge [mailto:[email protected]]
Sent: Tuesday, October 23, 2012 9:59 PM
To: Michal Sartoris
Cc: [email protected]
Subject: Re: [MonoTouch] Wrong MKMapItem Open(In)Maps implementations

Hi,
On Tue, Oct 23, 2012 at 5:37 PM, Michal Sartoris 
<[email protected]<mailto:[email protected]>> wrote:
In MonoTouch 6.0.4, there are wrong implementations of OpenMaps and OpenInMaps 
methods:

public void OpenInMaps(MKLaunchOptions launchOptions = null)
{
    this._OpenInMaps((launchOptions != null) ? null : 
launchOptions.ToDictionary());
}

public static bool OpenMaps(MKMapItem[] mapItems = null, MKLaunchOptions 
launchOptions = null)
{
    return MKMapItem._OpenMaps(mapItems, (launchOptions != null) ? null : 
launchOptions.ToDictionary());
}

Why it is returning null when parameter launchOptions is not null? Some sort of 
dark magic? :)

It's much more mundane than dark magic. It's simply a bug - and already fixed 
for the next release, 6.0.5 :)

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

Reply via email to