iOS 横屏

NSNumber *value = [NSNumber numberWithInt:UIInterfaceOrientationLandscapeRight];

    [[UIDevice currentDevice] setValue:value forKey:@"orientation"];

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