~~```ここに言語を入力
打ち消し線
下記ページの通り記述してsimlatorで試しましたが、上下さかさまのままです。 https://qiita.com/hikarut/items/c3bea991623a9a26f238 ###発生している問題・エラーメッセージ
エラーメッセージはありません
###該当のソースコード ```swift4 override func viewDidLoad() { //画面の回転への対応 func supportedInterfaceOrientations() -> UIInterfaceOrientationMask { // 許可する画面を追加 let orientation: UIInterfaceOrientationMask = [UIInterfaceOrientationMask.portrait, UIInterfaceOrientationMask.portraitUpsideDown, UIInterfaceOrientationMask.landscapeLeft, UIInterfaceOrientationMask.landscapeRight] return orientation }
###試したこと
「Development info」「Device orientation」はすべてチェックしています
###補足情報(言語/FW/ツール等のバージョンなど)
より詳細な情報
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/28 20:21