[NotificationCenter] Bindings for iOS Xcode 11 beta 1 (#6579)
This commit is contained in:
Родитель
c1e6ac029f
Коммит
9b7f6f9cdb
|
@ -25,16 +25,24 @@ namespace UIKit {
|
|||
}
|
||||
|
||||
[iOS (10,0)]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")]
|
||||
static public UIVibrancyEffect CreatePrimaryVibrancyEffectForNotificationCenter ()
|
||||
{
|
||||
return (null as UIVibrancyEffect).GetWidgetPrimaryVibrancyEffect ();
|
||||
}
|
||||
|
||||
[iOS (10,0)]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")]
|
||||
static public UIVibrancyEffect CreateSecondaryVibrancyEffectForNotificationCenter ()
|
||||
{
|
||||
return (null as UIVibrancyEffect).GetWidgetSecondaryVibrancyEffect ();
|
||||
}
|
||||
|
||||
[iOS (13,0)]
|
||||
static public UIVibrancyEffect CreateWidgetEffectForNotificationCenter (UIVibrancyEffectStyle vibrancyStyle)
|
||||
{
|
||||
return (null as UIVibrancyEffect).GetWidgetEffect (vibrancyStyle);
|
||||
}
|
||||
#endif // IOS
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ namespace NotificationCenter {
|
|||
#else
|
||||
[EditorBrowsable (EditorBrowsableState.Advanced)] // this is not the one we want to be seen (compat only)
|
||||
#endif
|
||||
[Deprecated (PlatformName.iOS, 10,0)]
|
||||
[Deprecated (PlatformName.iOS, 10,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||
[Static, Export ("notificationCenterVibrancyEffect")]
|
||||
UIVibrancyEffect NotificationCenterVibrancyEffect ();
|
||||
}
|
||||
|
@ -103,14 +103,21 @@ namespace NotificationCenter {
|
|||
[BaseType (typeof (UIVibrancyEffect))]
|
||||
interface UIVibrancyEffect_NCWidgetAdditions {
|
||||
[iOS (10,0)]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||
[Static]
|
||||
[Export ("widgetPrimaryVibrancyEffect")]
|
||||
UIVibrancyEffect GetWidgetPrimaryVibrancyEffect ();
|
||||
|
||||
[iOS (10,0)]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||
[Static]
|
||||
[Export ("widgetSecondaryVibrancyEffect")]
|
||||
UIVibrancyEffect GetWidgetSecondaryVibrancyEffect ();
|
||||
|
||||
[iOS (13,0)]
|
||||
[Static]
|
||||
[Export ("widgetEffectForVibrancyStyle:")]
|
||||
UIVibrancyEffect GetWidgetEffect (UIVibrancyEffectStyle vibrancyStyle);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
!missing-selector! +UIVibrancyEffect::notificationCenterVibrancyEffect not bound
|
||||
!missing-selector! +UIVibrancyEffect::widgetPrimaryVibrancyEffect not bound
|
||||
!missing-selector! +UIVibrancyEffect::widgetSecondaryVibrancyEffect not bound
|
||||
!missing-selector! +UIVibrancyEffect::widgetEffectForVibrancyStyle: not bound
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
!missing-selector! +UIVibrancyEffect::widgetEffectForVibrancyStyle: not bound
|
Загрузка…
Ссылка в новой задаче