Hi,
I've just upgraded to the latest Xcode (with iOS 5 SDK), MD 2.8.1 and MT 5.0
and am not able to compile my project. I have three issues with MKUserLocation:
1. It is not derived from MKAnnotation
2. Title has no setter
3. Subtitle has no setter.
In previous MT (4.2.2) everything was fine.
>From assembly browser:
4.2.2
[Register ("MKUserLocation", true)]
public class MKUserLocation : MKAnnotation
{
public virtual string Title { get; set; }
public virtual string Subtitle { get; set; }
}
5.0
[Register ("MKUserLocation", true)]
public class MKUserLocation : NSObject
{
public virtual string Title
{
[Export ("title")]
get {}
}
public virtual string Subtitle
{
[Export ("subtitle")]
get {}
}
}
I omitted other lines.
By apple's MKUserLocation docs, MKUserLocation should confomr to MKAnnotation
as well as Title and Subtitle properties should have also setter (otherwise it
is not possible to set them). Did you miss something?
Best regards,
Ing. Michal Sartoris
Resco.net<http://resco.net/>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch