私のUINavigationController内にUITableViewを作成しています。問題は、テーブルがそのヘッダーをカバーしていることです。これは私のクラスである:UINavigationController内のUITableView
.H:
@interface SecondViewController : UINavigationController
@end
と.mファイルの一部:
- (id)init
{
self = [super init];
if (self) {
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
UITableView *mmm = [[UITableView alloc] initWithFrame:CGRectMake(0, 0,320, 100) style:UITableViewStylePlain];
[self.view addsubview:mmm];
}
は私が間違って何をしているのですか?