MBCameraReticle
A camera reticle that locates at the center of screen and uses circle arc rotation to indicate that the system is active but has not detected an object yet.
-
Whether the reticle is currently animating.
Declaration
Objective-C
@property (nonatomic) BOOL isAnimating;
Swift
var isAnimating: Bool { get set }
-
Whether the reticle is currently detecting.
Declaration
Objective-C
@property (nonatomic) BOOL isDetecting;
Swift
var isDetecting: Bool { get set }
-
Whether the reticle is currently confirming.
Declaration
Objective-C
@property (nonatomic) BOOL isConfirming;
Swift
var isConfirming: Bool { get set }
-
Starts animating the reticle. Does nothing if the reticle is already animating.
Declaration
Objective-C
- (void)startAnimating;
Swift
func startAnimating()
-
Stops animating the reticle. Does nothing if the reticle is not animating.
Declaration
Objective-C
- (void)stopAnimating;
Swift
func stopAnimating()
-
Starts animating the detection spinner. Does nothing if the detection is already animating.
Declaration
Objective-C
- (void)startDetecting;
Swift
func startDetecting()
-
Stops animating the detection spinner. Does nothing if the detection is not animating.
Declaration
Objective-C
- (void)stopDetecting;
Swift
func stopDetecting()
-
Stops all animations and remove all layers to reset state to beginning
Declaration
Objective-C
- (void)resetAll;
Swift
func resetAll()
-
Starts animating the reticle. Does nothing if the reticle is already animating.
Declaration
Objective-C
- (void)animateArcRotation;
Swift
func animateArcRotation()