[UIKit] Remove unnecessary conditional defines from uikit.cs (#14539)

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
This commit is contained in:
TJ Lambert 2022-03-31 12:00:48 -05:00 коммит произвёл GitHub
Родитель d4e665ea7c
Коммит d8081bb228
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 6 удалений

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

@ -18,6 +18,8 @@ using UIKit;
using CloudKit;
#if !TVOS
using Contacts;
#else
using CNContact = System.Object;
#endif
#if !WATCH
using MediaPlayer;
@ -2647,11 +2649,11 @@ namespace UIKit {
[Export ("iconWithSystemImageName:")]
UIApplicationShortcutIcon FromSystemImageName (string systemImageName);
#if IOS // This is inside ContactsUI.framework
// This is inside ContactsUI.framework
[NoMac][NoTV][NoWatch]
[NoMacCatalyst]
[Static, Export ("iconWithContact:")]
UIApplicationShortcutIcon FromContact (CNContact contact);
#endif // IOS
}
[NoTV]
@ -10314,11 +10316,11 @@ namespace UIKit {
[Export ("setItems:options:")]
void SetItems (NSDictionary<NSString, NSObject>[] items, NSDictionary options);
#if !TVOS
[NoTV]
[iOS (10,0)]
[Wrap ("SetItems (items, pasteboardOptions.GetDictionary ()!)")]
void SetItems (NSDictionary<NSString, NSObject> [] items, UIPasteboardOptions pasteboardOptions);
#endif
[NoWatch, NoTV, iOS (10, 0)]
[Export ("hasStrings")]
bool HasStrings { get; }
@ -10383,14 +10385,13 @@ namespace UIKit {
NSString Find { get; }
}
#if !TVOS
[NoWatch, NoTV, iOS (10, 0)]
[StrongDictionary ("UIPasteboardOptionKeys")]
interface UIPasteboardOptions {
NSDate ExpirationDate { get; set; }
bool LocalOnly { get; set; }
}
#endif
[NoWatch, NoTV, iOS (10,0)]
[Static]
interface UIPasteboardOptionKeys {