Поделиться через


UIUserNotificationActivationMode Перечисление

Определение

Указывает, UIUserNotificationAction должно ли приложение запускаться в режиме переднего плана или в фоновом режиме.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationActionOptions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserNotificationActivationMode
type UIUserNotificationActivationMode = 
Наследование
UIUserNotificationActivationMode
Атрибуты

Поля

Background 1

Активированное приложение должно быть размещено в фоновом режиме.

Foreground 0

Активированное приложение должно быть размещено на переднем плане.

Применяется к