[AddressbookUI] Don't use new-style availability attributes in api definitions. (#13410)
This commit is contained in:
Родитель
88eb5e1ac8
Коммит
47792e1461
|
@ -19,14 +19,7 @@ using System.Runtime.Versioning;
|
||||||
|
|
||||||
namespace AddressBookUI {
|
namespace AddressBookUI {
|
||||||
|
|
||||||
#if !NET
|
|
||||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||||
#else
|
|
||||||
[UnsupportedOSPlatform ("ios9.0")]
|
|
||||||
#if IOS
|
|
||||||
[Obsolete ("Starting with ios9.0 use the 'Contacts' API instead.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
[BaseType (typeof (UIViewController))]
|
[BaseType (typeof (UIViewController))]
|
||||||
interface ABNewPersonViewController {
|
interface ABNewPersonViewController {
|
||||||
[Export ("initWithNibName:bundle:")]
|
[Export ("initWithNibName:bundle:")]
|
||||||
|
@ -61,14 +54,7 @@ namespace AddressBookUI {
|
||||||
void DidCompleteWithNewPerson (ABNewPersonViewController controller, [NullAllowed]ABPerson person);
|
void DidCompleteWithNewPerson (ABNewPersonViewController controller, [NullAllowed]ABPerson person);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !NET
|
|
||||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||||
#else
|
|
||||||
[UnsupportedOSPlatform ("ios9.0")]
|
|
||||||
#if IOS
|
|
||||||
[Obsolete ("Starting with ios9.0 use the 'Contacts' API instead.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
[BaseType (typeof (UINavigationController))]
|
[BaseType (typeof (UINavigationController))]
|
||||||
interface ABPeoplePickerNavigationController : UIAppearance {
|
interface ABPeoplePickerNavigationController : UIAppearance {
|
||||||
[Export ("initWithNibName:bundle:")]
|
[Export ("initWithNibName:bundle:")]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче