質問編集履歴
3
マークダウン
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Swift
|
1
|
+
Swift 初回起動は画面の向きを縦(ポートレート)で固定して特定のViewControllerで回転(ランドスケープ)を許容したい。
|
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
#試したこと
|
2
|
+
|
1
3
|
info.plist内で起動時の画面を縦固定し, AppDelegate で application(application:supportedInterfaceOrientationsForWindow)内で
|
2
4
|
|
3
5
|
```Swift
|
@@ -50,6 +52,12 @@
|
|
50
52
|
|
51
53
|
|
52
54
|
|
55
|
+
|
56
|
+
|
57
|
+
以下の記事についても試しましたが,効果はありませんでした。
|
58
|
+
|
59
|
+
|
60
|
+
|
53
61
|
[ check the box "Requires full screen" in the General Targets setting](https://stackoverflow.com/questions/32621014/supportedinterfaceorientationsforwindow-not-called-in-ios-9-appdelegate)
|
54
62
|
|
55
63
|
[iOS9 supportedInterfaceOrientationsForWindowが呼び出されなくなる
|
@@ -58,7 +66,7 @@
|
|
58
66
|
|
59
67
|
|
60
68
|
|
61
|
-
|
69
|
+
|
62
70
|
|
63
71
|
|
64
72
|
|
2
参考
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,6 +15,12 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
としていますが, どの画面も回転しません。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
参考:[iPhone6Plusと初回起動時の画面向きについて](https://qiita.com/kenmaz/items/1704152ef38c35bfe9fe)
|
22
|
+
|
23
|
+
|
18
24
|
|
19
25
|
|
20
26
|
|
1
タイトル。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Swift LaunchScreenは縦で固定して特定のViewControllerで回転を許容したい。
|
1
|
+
Swift LaunchScreenは縦(ポートレート)で固定して特定のViewControllerで回転(ランドスケープ)を許容したい。
|
test
CHANGED
File without changes
|