UIDevice.currentDevice().setValue(UIInterfaceOrientation.LandscapeLeft.rawValue, forKey: "orientation")
http://www.cocoachina.com/ios/20150810/12895.html
UIDevice.currentDevice().setValue(UIInterfaceOrientation.LandscapeLeft.rawValue, forKey: "orientation")
http://www.cocoachina.com/ios/20150810/12895.html