摘要: 有两个视图,横屏视图和纵屏视图,当iphone的方位变化的时候,这两个视图相互切换。1。两个视图:PortraitView和LandscapeView ,分别标示纵屏和横屏。2。一个控制器,RootViewController,根控制器。3。在RootViewController.m中有以下代码-(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration{ if (UIInterfaceOri... 阅读全文
posted @ 2011-10-14 10:01 松花江以南 阅读(12993) 评论(0) 推荐(0) 编辑