如下图所示:
可以参考 链接
总体来说,添加一个footerview是最简单的方式。
有多种方法做这个事情,比如:
- (void) viewDidLoad
{
[super viewDidLoad];
// Without ARC
//self.tableView.tableFooterView = [[[UIView alloc] init] autorelease];
// With ARC, tried on Xcode 5[......]
转载自:http://www.2cto.com/kf/201506/407038.html
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell *cell;
switch (indexPath.row) {
case 0:
{[......]
在XCode 6的某个版本后,XCode的项目向导取消了空的ios工程选项。
参考 http://stackoverflow.com/questions/25783282/how-to-create-an-empty-application-in-xcode-6-without-storyboard
可以如下操作:
There is no option in XCode6 for directly creating an Empty Application as in XC[......]