質問編集履歴
1
a
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,9 +14,14 @@
|
|
14
14
|
|
15
15
|
@IBAction func button(_ sender: Any) {
|
16
16
|
|
17
|
+
//開始
|
17
18
|
KRProgressHUD.show(withMessage: "Loading...")
|
18
|
-
|
19
19
|
|
20
|
+
//終了
|
21
|
+
let delay = DispatchTime.now() + 2
|
22
|
+
DispatchQueue.main.asyncAfter(deadline: delay) {
|
23
|
+
KRProgressHUD.dismiss()
|
24
|
+
}
|
20
25
|
}
|
21
26
|
|
22
27
|
override func didReceiveMemoryWarning() {
|