.h#import @interface RootViewController : UIViewController{ NSTimer *timer; UIImageView *imageView1; UIImageView *imageView2; UIImageView ...
分类:
其他好文 时间:
2014-10-16 15:33:02
阅读次数:
131
效果图:代码:.h#import @interface RootViewController : UIViewController{ //列表 UITableView * _tableViewList; //显示内容 UITableView * _tableViewMembe...
分类:
其他好文 时间:
2014-10-15 16:39:21
阅读次数:
204
效果图:其中图片是可以自己动的。当然,点击白色的小圆点,也是可以滑动的。上代码。.h#import @interface RootViewController : UIViewController{ UIScrollView *scoreView;}@end.m- (void)viewDidL...
分类:
其他好文 时间:
2014-10-14 19:36:59
阅读次数:
144
两个tableView是可以左右滑动的。两个tableView放在一个scrollerView上,可以,左右滑动。上代码。.h#import @interface RootViewController : UIViewController{ UIScrollView *_scrolView; ...
分类:
其他好文 时间:
2014-10-14 19:22:02
阅读次数:
195
效果图:代码:.h#import #import "EGORefreshTableHeaderView.h"@interface RootViewController : UIViewController{ UITableView *_tableView; EGORefreshTable...
分类:
其他好文 时间:
2014-10-14 18:21:49
阅读次数:
136
.h#import @interface RootViewController : UIViewController{ UIImageView *imageView;}.m- (void)viewDidLoad{ [super viewDidLoad]; // Do any add...
分类:
Web程序 时间:
2014-10-10 17:21:44
阅读次数:
305
1.修改工程名:直接选中工程名点一下,就像修改名称夹名称一样简单了。2.导入旧工程解决xcode4.5以后模拟器屏幕不旋转的问题if([[[UIDevicecurrentDevice]systemVersion]floatValue]>=6.0)self.window.rootViewController=navigationCtrl;else[self.windowaddSubview:naviga..
分类:
其他好文 时间:
2014-10-09 20:39:18
阅读次数:
106
事件传递顺序:自定义View -- > UIview --> RootViewController --> UIWindow -->UIApplication -->Appdelegate -->nil注: //分发事件,将当前的触摸事件分发给当前对象的下一个响应者 //如果当前对象处理了当前...
分类:
移动开发 时间:
2014-09-24 21:19:17
阅读次数:
168
代码:#import "RootViewController.h"@implementation RootViewController@synthesize scrollView;- (void)viewDidLoad{ [super viewDidLoad]; // Do any ad...
分类:
其他好文 时间:
2014-09-21 18:22:30
阅读次数:
221
创建标签控制器UITabBarViewController*TVC=[[UITabBarViewControlleralloc]init];//初始化self.window.rootViewController=TVC;[TVCrelease];
分类:
其他好文 时间:
2014-09-20 02:25:36
阅读次数:
139