gpt4 book ai didi

ios - 带底角的表格 View ,如 iPad Notes 应用程序

转载 作者:行者123 更新时间:2023-11-28 22:42:22 27 4
gpt4 key购买 nike

我正在做的事情看起来像 iPad Notes 应用程序的笔记列表:一个经典的表格 View ,但底部有一个角,如下所示:

所以为了查看列表的底部, ScrollView 有点特殊。

最好的方法是什么?

非常感谢。

最佳答案

我认为最简单的方法是使用 heightForFooterInSection 为最后一部分设置页脚高度。

-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
if (section==[mySections count]) {
return 120;
}
return 0;

关于ios - 带底角的表格 View ,如 iPad Notes 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14141584/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com