LIFEBlurrableView

@protocol LIFEBlurrableView <UICoordinateSpace>

UIView subclasses that contain potentially sensitive information may adopt this protocol so that their contents are automatically blurred whenever Buglife captures a screenshot.

For example, a UIView subclass for credit card entry should adopt this protocol so that a user’s credit card is obscured prior to screenshot capturing.

  • Return YES if your view contains potentially sensitive information.

    Declaration

    Objective-C

    - (BOOL)buglifeShouldBlurForScreenCapture;

    Swift

    func buglifeShouldBlurForScreenCapture() -> Bool