开发者

issue with UITableViewStyleGrouped

开发者 https://www.devze.com 2023-01-16 05:26 出处:网络
I have 2 UITableViewControllers, both are using same data source but for some reason one of them has weird header gap on the top. I don\'t understand why. When I\'m changing 开发者_运维知识库style to

I have 2 UITableViewControllers, both are using same data source but for some reason one of them has weird header gap on the top. I don't understand why. When I'm changing 开发者_运维知识库style to UITableViewStylePlain the positioning is fine but I need grouped style here.

Any thoughts?


Try setting the header size using heightForHeaderInSection.

0

精彩评论

暂无评论...
验证码 换一张
取 消