Swift UIInterfaceOrientationMaskの値

UIInterfaceOrientationMaskドキュメント

UIInterfaceOrientationMask.portrait          :2 (00010)
UIInterfaceOrientationMask.portraitUpsideDown:4 (00100)
UIInterfaceOrientationMask.landscapeRight    :8 (01000)
UIInterfaceOrientationMask.landscapeLeft     :16(10000)
UIInterfaceOrientationMask.landscape         :24(11000)
UIInterfaceOrientationMask.allButUpsideDown  :26(11010)
UIInterfaceOrientationMask.all               :30(11110)

SwiftSwift

Posted by shi-n