[UserNotification] Fix bug 43787 localizedUserNotificationStringForKey:arguments: not bound properly (#712)
https://bugzilla.xamarin.com/show_bug.cgi?id=43787
This commit is contained in:
Родитель
a2899b842c
Коммит
1a16d1c923
|
@ -7139,6 +7139,12 @@ namespace XamCore.Foundation
|
|||
|
||||
[Export ("hasSuffix:")]
|
||||
bool HasSuffix (NSString suffix);
|
||||
|
||||
// UNUserNotificationCenterSupport category
|
||||
[iOS (10,0), Watch (3,0), NoTV, NoMac]
|
||||
[Static]
|
||||
[Export ("localizedUserNotificationStringForKey:arguments:")]
|
||||
string GetLocalizedUserNotificationString (string key, [NullAllowed] NSObject [] arguments);
|
||||
}
|
||||
|
||||
[StrongDictionary ("NSString")]
|
||||
|
|
|
@ -114,18 +114,6 @@ namespace XamCore.UserNotifications {
|
|||
Alert = (1 << 2)
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.iOS, 10, 0)]
|
||||
[Introduced (PlatformName.WatchOS, 3, 0)]
|
||||
[Unavailable (PlatformName.TvOS)]
|
||||
[Category]
|
||||
[BaseType (typeof (NSString))]
|
||||
interface NSString_UNUserNotificationCenterSupport {
|
||||
|
||||
[Static]
|
||||
[Export ("localizedUserNotificationStringForKey:arguments:")]
|
||||
string GetLocalizedUserNotificationString (string key, [NullAllowed] NSObject [] arguments);
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.iOS, 10, 0)]
|
||||
[Introduced (PlatformName.TvOS, 10, 0)]
|
||||
[Introduced (PlatformName.WatchOS, 3, 0)]
|
||||
|
|
Загрузка…
Ссылка в новой задаче