[英]how to use MBProgressHUD to pause the screen when the loading animating
[英]MBProgressHUD is not animating in determinate mode
您需要設置進度,它的值介於 0 和 1 之間,因此您可以像使用它一樣
self.progressHUD = MBProgressHUD.showAdded(to: self.view, animated: true)
self.progressHUD?.mode = .determinate
self.progressHUD?.contentColor = .purple
self.progressHUD?.setProgress(0.3)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.