回答編集履歴
1
dismiss
test
CHANGED
@@ -21,3 +21,11 @@
|
|
21
21
|
}
|
22
22
|
|
23
23
|
```
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
‥と言うのは嘘で、遷移から**戻る**ときに、新しいインスタンスを生成して遷移していたのが問題でした。
|
30
|
+
|
31
|
+
[dismiss(animated:completion:)](https://developer.apple.com/documentation/uikit/uiviewcontroller/1621505-dismiss)で**戻る**ようにして解決。
|