DefaultProgressView

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKDefaultProgressView)
open class DefaultProgressView : NSObject, ProgressView

A ProgressView is an activity indicator that is shown on top of all other views in a HUD style and temporarily blocks all user interaction with other views.

  • The main container view of the progress view.

    Declaration

    Swift

    public let overlayView: UIView
  • The background view that is being animated in.

    Declaration

    Swift

    public let backgroundView: UIView
  • The image view that holds the spinner.

    Declaration

    Swift

    public let imageView: UIImageView
  • The label that contains the loading message.

    Declaration

    Swift

    public let label: UILabel
  • The duration of one rotation of the spinner.

    Declaration

    Swift

    open var animationDuration: Double
  • A shared instance for convenience.

    Declaration

    Swift

    public static let sharedView: DefaultProgressView
  • Presents the activity indicator with the given message.

    Declaration

    Swift

    open func show(withMessage message: String)

    Parameters

    message

    The message to present.

  • Hides the activity indicator.

    Declaration

    Swift

    open func hide()