Platforms to show: All Mac Windows Linux Cross-Platform

ProgressHUDMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class ProgressView MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Function: Displays a simple HUD window containing a progress indicator and two optional labels for short messages.
Notes:
This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.
The MBProgressHUD window spans over the entire space given to it by the constructor and catches all user input on this region, thereby preventing the user operations on components below the view.

To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = false.
MBProgressHUD is a UI class and should therefore only be accessed on the main thread.

Animations

Constant Value Description
AnimationFade 0 Opacity animation
AnimationZoom 1 Opacity + scale animation (zoom in when appearing zoom out when disappearing)
AnimationZoomIn 3 Opacity + scale animation (zoom in style)
AnimationZoomOut 2 Opacity + scale animation (zoom out style)

Modes

Constant Value Description
ModeAnnularDeterminate 3 Ring-shaped progress view.
ModeCustomView 4 Shows a custom view.
ModeDeterminate 1 A round, pie-chart like, progress view.
ModeDeterminateHorizontalBar 2 Horizontal progress bar.
ModeIndeterminate 0 A round progress indicator.
ModeText 5 Shows only labels.

This class has no sub classes.

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS iOS Plugin.


ProgressBarProgressViewMBS   -   ProgressRoundProgressViewMBS

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat