回答編集履歴

5

修正

2016/08/04 13:26

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -40,4 +40,6 @@
40
40
 
41
41
  presentViewController(navi, animated: true, completion: nil)
42
42
 
43
+
44
+
43
45
  ```

4

修正

2016/08/04 13:25

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -27,3 +27,17 @@
27
27
  という書き方は`Storyboard`が違う場合や、`Segue`で結ばれていない場合に使用します。
28
28
 
29
29
  結ばれていて直接呼んでもいいですが、、、
30
+
31
+
32
+
33
+
34
+
35
+ `UINavigationController`付きの`ModalView`へコードで遷移させる場合は以下の様になります。
36
+
37
+ ```swift
38
+
39
+ let navi = storyboard?.instantiateViewControllerWithIdentifier("Navigation_StoryboardID") as! UINavigationController
40
+
41
+ presentViewController(navi, animated: true, completion: nil)
42
+
43
+ ```

3

修正

2016/08/04 13:25

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -1,6 +1,6 @@
1
1
  `Segue`の形状を見る限りだと`Push`で遷移したいようにみえます、その場合は遷移先に`NavigationController`を付ける事は不要です。
2
2
 
3
- ※自分に`NavigationController` が付いている必要があります。
3
+ ※自分に`NavigationController` が付いている必要がありますが、この場合付いていないのでこのままだと落ちると思います
4
4
 
5
5
 
6
6
 

2

修正

2016/08/04 13:19

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- `Modal`表示をしたい場合はそのように結び付けます。
7
+ `Modal`表示(NavigationController付き)をしたい場合はそのように結び付けます。
8
8
 
9
9
 
10
10
 

1

修正

2016/08/04 13:14

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -1,4 +1,6 @@
1
- `Segue`を見る限りだと`Push`で遷移したいようにみえます、その場合は遷移先に`NavigationController`を付ける事は不要です。
1
+ `Segue`の形状を見る限りだと`Push`で遷移したいようにみえます、その場合は遷移先に`NavigationController`を付ける事は不要です。
2
+
3
+ ※自分に`NavigationController` が付いている必要があります。
2
4
 
3
5
 
4
6