LoginSignup
1

More than 5 years have passed since last update.

swift初心者:「SVProgressHUDの表示時間の設定方法」

Last updated at Posted at 2018-08-22

はじめに

初歩的な実装かと思いますが、初心者のため備忘録を含め記録として残したいと思います。

①SVProgressHUD.dismiss(withDelay: TimeInterval)を使用する

SVProgressHUD

SVProgressHUD.showError(withStatus: "test")
//withDelayにIntを設定
SVProgressHUD.dismiss(withDelay: 3)

上記のように
SVProgressHUD.dismiss(withDelay: 3)
とすれば表示時間の設定が可能かと思います。

ご参考になれば幸いです。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1