LIFEInvocationOptions

enum LIFEInvocationOptions {}

Options for automatically invocating the bug reporter view. This is an option set, and can be combined to simulatenously support multiple invocation types.

  • Does not automatically invoke the bug reporter view. Use this if you wish to only manually invoke the bug reporter.

    Declaration

    Objective-C

    LIFEInvocationOptionsNone = 0
  • Invokes the bug reporter by shaking the device (Ctrl+Cmnd+Z in Simulator).

    Declaration

    Objective-C

    LIFEInvocationOptionsShake = 1 << 0

    Swift

    static var shake: LIFEInvocationOptions { get }
  • Invokes the bug reporter whenever the user manually takes a screenshot (i.e. by simultaneously pressing the Home & Lock buttons on their device).

    Declaration

    Objective-C

    LIFEInvocationOptionsScreenshot = 1 << 1

    Swift

    static var screenshot: LIFEInvocationOptions { get }
  • Places a floating bug button on the screen, which can be moved by the user. Tapping this button invokes the bug reporter.

    Declaration

    Objective-C

    LIFEInvocationOptionsFloatingButton = 1 << 2

    Swift

    static var floatingButton: LIFEInvocationOptions { get }