I am new in iphone application and i want to make table view using coding so will you please give me some suggestion?
A:
Use initWithFrame:style:.
For example:
CGRect tableViewFrame = CGRectMake(0, 20, 320, 460);
UITableView *myTableView = [[UITableView alloc] initWithFrame:tableViewFrame style:UITableViewStylePlain];
// now add the new view to a window or another view
gerry3
2009-12-24 05:24:09