BLTNBackgroundViewStyle

@objc
public class BLTNBackgroundViewStyle : NSObject

The types of background used to cover the content behind the bulletins.

  • The background content is not covered.

    Declaration

    Swift

    @objc
    public static let none: BLTNBackgroundViewStyle
  • The background is covered with a semi-transparent view similar to the view displayed behind UIKit alerts and action sheets.

    Declaration

    Swift

    @objc
    public static let dimmed: BLTNBackgroundViewStyle
  • The background is blurred with the specified effect.

    Available on iOS 10.0 and later.

    Declaration

    Swift

    @available(iOS 10, *)
    @objc
    public static func blurred(style: UIBlurEffect.Style, isDark: Bool) -> BLTNBackgroundViewStyle

    Parameters

    style

    The style of blur to use to cover the background.

    isDark

    Whether the blur effect is dark.

  • The background blurred with a light style.

    Declaration

    Swift

    @available(iOS 10, *)
    @objc
    public static let blurredLight: BLTNBackgroundViewStyle
  • The background blurred with an extra light style.

    Declaration

    Swift

    @available(iOS 10, *)
    @objc
    public static let blurredExtraLight: BLTNBackgroundViewStyle
  • The background blurred with a dark style.

    Declaration

    Swift

    @available(iOS 10, *)
    @objc
    public static let blurredDark: BLTNBackgroundViewStyle