iOS 强制横屏

NSNumber *orienTarget=[NSNumber numberWithInt: UIInterfaceOrientationLandscapeLeft];
[[UIDevicecurrentDevice] setValue:orienTarget forKey: @"orientation"];

你可能感兴趣的:(iOS 强制横屏)