この画像のように、uitableviewcell の下部に情報テキスト ('Please note that...') を追加する方法:

この画像のように、uitableviewcell の下部に情報テキスト ('Please note that...') を追加する方法:

試してみてください- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section:
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section {
if (section == 0) {
return @"This text is below the TableView!";
}
return nil;
}
追加のドキュメントは、ここにあります。
そのスクリーン ショットで見ているものは、UITableViewCell の一部ではありません。テーブルのフッター(テーブルの機能)です。目的のコンテンツを含む UILabel を作成し、それをテーブルの に設定してみてくださいtableFooterView。