开发者

How to get the default position and font of UITableViewCell, using it in a custom cell

开发者 https://www.devze.com 2023-01-03 10:46 出处:网络
I\'m trying to write an app which contains a table view with three cell, one custom cells and two \"standard\" cells

I'm trying to write an app which contains a table view with three cell, one custom cells and two "standard" cells

I have created a "custom cell" to be able to view a picture together with a subtitle in it. I would like to have the same l开发者_如何学编程ook of the cell as a standard "UITableViewCell" but cannot figure out how to get the default position of "cell.textLabel.text". Any suggestions? Thanks in advance.


Good question. I would like to know as well. You can get close if not perfect by adjusting it one pixel at a time. It's just tedious!

0

精彩评论

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