SVProgressHUD displays on-screen progress and status while long tasks run in iOS and tvOS applications. It ships as an Objective-C component usable from Swift via common package managers or manual integration.
Overview
SVProgressHUD is a heads-up display component for showing indeterminate or determinate progress and short status messages during blocking work in iOS and tvOS apps. It is implemented as a singleton you invoke directly from application code rather than embedding per-screen instances.
You can show spinners, progress bars, success, error, and info states, stack multiple activities, and dismiss automatically after timed messages. Documentation warns against using it for pull-to-refresh or infinite scroll, reserving it for operations that must finish before navigation continues.
Customization covers light, dark, and automatic appearance styles, colors, fonts, timing, animations, haptics on supported iPhones, and motion effects through UIAppearance. Notifications fire when the HUD appears, disappears, or receives touches.
Distribution options include Swift Package Manager, CocoaPods, Carthage, or dragging sources into Xcode with the bundled resource file and QuartzCore linked. An app-extension mode avoids unavailable APIs when embedded in extensions.
Key features
- Singleton HUD API
- Indeterminate and progress modes
- Success, error, info states
- Stacked activity counting
- UIAppearance styling
- Optional haptic feedback
- NSNotification lifecycle events
- App extension build mode
Use cases
- Blocking network requests UI
- File upload progress
- Short status after tasks
- tvOS loading indicators
- Swift apps using Obj-C HUD