MCLPreview

@interface MCLPreview : UIView

A view that previews a recording.

Created by -[Megacool getPreview]. The view is initially transparent, but becomes visible when we have loaded at least one frame to show.

  • The number of frames for the preview.

    Note

    This number can potentially change.

    Declaration

    Objective-C

    @property (readonly, atomic) int numberOfFrames;

    Swift

    var numberOfFrames: Int32 { get }
  • Start the animation.

    Declaration

    Objective-C

    - (void)startAnimating;

    Swift

    func startAnimating()
  • Stop the animation

    Declaration

    Objective-C

    - (void)stopAnimating;

    Swift

    func stopAnimating()