摘要: 如何实现ios屏幕的横竖屏自适应首先在UIViewController的-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation方法中设置设备要支持的deviceOrientation;在UIViewController的-(void)willRotateToInterfaceOrientation(UIInterfaceOrientation)toInterfaceOrientationduration:(NSTimeInterval)duration或者-(void) 阅读全文
posted @ 2012-12-10 10:54 冰岛 阅读(471) 评论(0) 推荐(0)