SBBackgroundContainerView (Background View)
│
SBBackgroundContainerView (Bezel View)
│ ┌───────────────┐
├─┤Top Spacer View│ ┌─Activity Indicator
│ └───────────────┘ │
│ ├─Linear Progress
├──Indicator───────────┤
│ ├─Doughnut Progress
├──Title Label │
│ ├─Pie Progress
├──Details Label │
│ ├─Text Label
│ ┌──────────────────┐ │
└─┤Bottom Spacer View│ └─Custom View
└──────────────────┘
- delegate
- completion
- style
- animationType
- progress
- progressObject
- color
- backgroundViewColor
- bezelViewColor
- bezelViewBlurEffectStyle
- titleText
- titleFont
- titleTextColor
- titleAttributedText
- detailsText
- detailsFont
- detailsTextColor
- detailsAttributedText
- offset
- margin
- minimumSize
- contentMargin
- gracePeriod
- minimumDisplayingTime*
- removeFromSuperviewWhenStopped
- enabledMotionEffects
- customView
- init()
- showProgressHUD(onView:animated:)
- hideProgressHUD(fromView:animated:)
- getProgressHUD(fromView:)
- showProgressHUD(animated:)
- hideProgressHUD(animated:)
- delayHideProgressHUD(_:animated:)
- iOS 11.0+
- Swift 5.0+
pod 'SBProgressHUD-Spirit', '~> 1.0'
https://github.com/spirit-jsb/SBProgressHUD.git
spirit-jsb, [email protected]
SBProgressHUD
可在 MIT
许可下使用,更多详情请参阅许可文件