Bug 33018 - MKMapViewDelegate.DidChageUserTrackingMode should have obsoleteattribute
Summary: MKMapViewDelegate.DidChageUserTrackingMode should have obsoleteattribute
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 8.99 (iOS9 previews)
Hardware: PC Mac OS
: --- trivial
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-08-12 13:59 UTC by Larry O'Brien
Modified: 2015-08-12 14:11 UTC (History)
2 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 Larry O'Brien 2015-08-12 13:59:57 UTC
We provide the properly-spelled DidChangeUserTrackingMode, so I think we should mark DidChageUserTrackingMode as obsolete.
Comment 1 Sebastien Pouliot 2015-08-12 14:11:39 UTC
It's a method in a *Delegate so we cannot change it's signature, nor really add a new one, and that's why there's no [Obsolete].

Now `DidChageUserTrackingMode` only exists in classic (monotouch.dll) and not in unified (Xamarin.iOS.dll).

	#if XAMCORE_2_0
		void DidChangeUserTrackingMode (MKMapView mapView, MKUserTrackingMode mode, bool animated);
		void DidChageUserTrackingMode (MKMapView mapView, MKUserTrackingMode mode, bool animated);
	#endif // XAMCORE_2_0

It's likely your documentation tool is merging both assemblies - which means `DidChageUserTrackingMode` is exposed, at least doc-wise (but not to the developer, e.g. code completion).