[Swift 3.0] ViewController単位で画面の向きを制御する - Qiita

(おそらくSwift3.0から)デバイスの回転による画面の向きの制御を行うshouldAutorotateやsupportedInterfaceOrientationsが、メソッドからreadonl…