开发者

Need help indenting bubble for group table view iOS

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜