質問編集履歴
1
解決方法の記入
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -77,4 +77,20 @@
|
|
|
77
77
|
|
|
78
78
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
|
79
79
|
xcode8.2.1
|
|
80
|
-
swift3
|
|
80
|
+
swift3
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
###解決方法
|
|
84
|
+
```swift
|
|
85
|
+
// アラート表示
|
|
86
|
+
present(alert, animated: true){
|
|
87
|
+
completion in
|
|
88
|
+
|
|
89
|
+
// 位置の変更
|
|
90
|
+
// alert.viewに表示位置が入っている
|
|
91
|
+
indicateView.center = CGPoint(x: alert.view.bounds.width * 0.85, y: alert.view.bounds.height / 2)
|
|
92
|
+
|
|
93
|
+
// アニメージョンスタートはこのタイミングで呼ぶ()
|
|
94
|
+
indicateView.startAnimating()
|
|
95
|
+
}
|
|
96
|
+
```
|