[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 {
|
||||
|
||||
#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:")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче