[UserNotification] Fix bug 43787 localizedUserNotificationStringForKey:arguments: not bound properly (#712)

https://bugzilla.xamarin.com/show_bug.cgi?id=43787
This commit is contained in:
Alex Soto 2016-08-30 18:16:32 -05:00 коммит произвёл Sebastien Pouliot
Родитель a2899b842c
Коммит 1a16d1c923
2 изменённых файлов: 6 добавлений и 12 удалений

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

@ -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)]