質問編集履歴
1
解決方法の記入
test
CHANGED
File without changes
|
test
CHANGED
@@ -157,3 +157,35 @@
|
|
157
157
|
xcode8.2.1
|
158
158
|
|
159
159
|
swift3
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
###解決方法
|
166
|
+
|
167
|
+
```swift
|
168
|
+
|
169
|
+
// アラート表示
|
170
|
+
|
171
|
+
present(alert, animated: true){
|
172
|
+
|
173
|
+
completion in
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
// 位置の変更
|
178
|
+
|
179
|
+
// alert.viewに表示位置が入っている
|
180
|
+
|
181
|
+
indicateView.center = CGPoint(x: alert.view.bounds.width * 0.85, y: alert.view.bounds.height / 2)
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
// アニメージョンスタートはこのタイミングで呼ぶ()
|
186
|
+
|
187
|
+
indicateView.startAnimating()
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
```
|