{
if(UIInterfaceOrientationIsLandscape(toInterfaceOrientation))
{
dispatch_async(dispatch_get_main_queue(), ^{
[SecView setFrame:CGRectMake(0, 0, 480, 320)];
[self.view addSubview:SecView];
});
}
else {
dispatch_async(dispatch_get_main_queue(), ^{
[SecView removeFromSuperview];
});
}
}
SecView是单独添加的视图,Orientation选Landscape。
2万+




被折叠的 条评论
为什么被折叠?



