質問編集履歴
1
試したコード内の条件文のviewController名を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
let count = (self.navigationController?.viewControllers.count)! - 2
|
28
28
|
|
29
|
-
if ((self.navigationController?.viewControllers[count] as?
|
29
|
+
if ((self.navigationController?.viewControllers[count] as? EのViewController) != nil) {
|
30
30
|
|
31
31
|
self.navigationController?.viewControllers.removeAtIndex(count)
|
32
32
|
|