[AddressbookUI] Don't use new-style availability attributes in api definitions. (#13410)

This commit is contained in:
Rolf Bjarne Kvinge 2021-11-22 18:49:51 +01:00 коммит произвёл GitHub
Родитель 88eb5e1ac8
Коммит 47792e1461
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -19,14 +19,7 @@ using System.Runtime.Versioning;
namespace AddressBookUI {
#if !NET
[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))]
interface ABNewPersonViewController {
[Export ("initWithNibName:bundle:")]
@ -61,14 +54,7 @@ namespace AddressBookUI {
void DidCompleteWithNewPerson (ABNewPersonViewController controller, [NullAllowed]ABPerson person);
}
#if !NET
[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))]
interface ABPeoplePickerNavigationController : UIAppearance {
[Export ("initWithNibName:bundle:")]