开发者

Need help indenting bubble for group table view iOS

开发者 https://www.devze.com 2023-03-26 20:15 出处:网络
I\'m using the group table view in my app, and I want to indent a section.Currently, I\'m using the indenta开发者_开发百科tionlevel parameter, but that\'s indenting the text within the section.Please

I'm using the group table view in my app, and I want to indent a section. Currently, I'm using the indenta开发者_开发百科tionlevel parameter, but that's indenting the text within the section. Please see this link to an image that helps explain what I'm trying to do.

Need help indenting bubble for group table view iOS


I'm not sure if group table views behave any differently than standard table views, but you might want to look into custom cell initialization on the tableView:cellForRowAtIndexPath and adjust the cell's frame to have a larger x coordinate and a smaller width...


This is not possible with a grouped table view. The only thing that you really can do it to manually adjust the cell's frame in the cellForRowAtIndexPathmethod depending on the section.

0

精彩评论

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