アプリ全体の回転を許可しておいて、
各ビューコントローラーで、
override func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
return [UIInterfaceOrientationMask.LandscapeRight,UIInterfaceOrientationMask.LandscapeLeft]
}
override func shouldAutorotate() -> Bool{
return true
}
のように、切り分けたらできないでしょうかね???
と、swiftは実は慣れておらず書式違いあるかも、ですが、Objective-Cで同様コードだと、特定VIEWの回転を抑止できているような気がします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/05/03 19:30