adr*_*ian 1 iphone scrollview uitableview
可能重复:
iphone中的tableview问题
我有以下内容:
.h文件:
UITableView *catalogTable;
UIScrollView *scrollView;
Run Code Online (Sandbox Code Playgroud)
.m文件
- (void)viewDidLoad
{
NSLog(@"BoiteAOutils");
[super viewDidLoad];
catalogTable.backgroundColor = [UIColor clearColor];
catalogTable.layer.cornerRadius = 10.0;
scrollView.layer.cornerRadius = 15;
[self.view addSubview:scrollView];
[scrollView setShowsVerticalScrollIndicator:NO];
catalogTable.scrollEnabled = NO;
catalogTable.layer.cornerRadius = 15;
[scrollView addSubview:catalogTable];
nameCatalog = [myAudiAppDelegate sharedAppDelegate].dataHandler.catalogueList;
loadingView.hidden=YES;
}
Run Code Online (Sandbox Code Playgroud)
我在文件中创建了一个scrollView
和一个.一切都很好,结果看起来:tableView
xib
http://i53.tinypic.com/dzgqx3.png
我对结果非常习惯,问题是我一开始就上下滚动桌子就不动了.我看不到桌子的全部内容......只有这张照片显示在这张照片中.我哪里错了?谢谢:)
归档时间: |
|
查看次数: |
1435 次 |
最近记录: |