回答編集履歴
1
TabBarController
test
CHANGED
@@ -11,3 +11,29 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
でどうですか?
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
【追記】
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
TabBarControllerはrootViewControllerなので、
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
```swift
|
26
|
+
|
27
|
+
if let tab = UIApplication.shared.keyWindow?.rootViewController as? UITabBarController {
|
28
|
+
|
29
|
+
tab.tabBar.isHidden = true
|
30
|
+
|
31
|
+
}
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
こんな感じで取得(&TabBar表示/非表示)出来ると思います。
|
38
|
+
|
39
|
+
あとは、遷移時にTabBar非表示、戻るときにTabBar表示、とすればいいかと。
|