質問編集履歴
1
コードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,4 +11,13 @@
|
|
11
11
|
|
12
12
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
13
13
|
・`Xcode8.2.1`
|
14
|
-
・`Swift3`
|
14
|
+
・`Swift3`
|
15
|
+
|
16
|
+
###補足
|
17
|
+
```
|
18
|
+
override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
|
19
|
+
if item.tag == 2 {
|
20
|
+
_ = navigationController?.popToRootViewController(animated: true)
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|