视图翻转问题
//实现shouldAutorotateToInterfaceOrientation方法可以设置图片翻转//直接return YES 可开启上下左右横向竖向的翻转//一下代码只支持横向显示不支持竖向翻转- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { //return YES; return (interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIInterfaceOrientationLandscapeLeft);}