摘要:
在父视图控制器里面写如下代码-(void)setViewOrientation:(UIInterfaceOrientation )orientation{ if ([[UIDevice currentDevice] respondsToSelector:@selector(setOrientation:)]) { [[UIDevice currentDevice] performSelector:@selector(setOrientation:) withObject:(id)orientatio... 阅读全文