table = [[PullToRefreshTableView alloc] initWithFrame:CGRectMake(0, 45, 320, 480)];
[table setContentSize:CGSizeMake(320, 960)];
//table.contentSize = CGRectMake(0, 0, 320, 960);
table.delegate = self;
table.dataSource = self;
table.backgroundColor = [UIColor clearColor];
[self.view addSubview:table];
[table setContentSize:CGSizeMake(320, 960)];
//table.contentSize = CGRectMake(0, 0, 320, 960);
table.delegate = self;
table.dataSource = self;
table.backgroundColor = [UIColor clearColor];
[self.view addSubview:table];
本文介绍了如何使用 Objective-C 初始化 PullToRefreshTableView,并设置其代理及数据源,同时配置了表格视图的背景颜色。
3722

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



