APNSEnvironment

@objc
public enum APNSEnvironment : Int

Apple’s Push Notification environment selector.

  • Use Apple’s production environment for push notification. This value should be used in the build made for Apple Store distribution.

    Declaration

    Swift

    case Production = 0
  • Use Apple’s sandbox environment for push notification. This value should be used in the debug build.

    Declaration

    Swift

    case Sandbox = 1