开发者

Why is UITableViewCell text floating to top on the device?

The text lables in my UITableViewCells are getting displayed differently on the dev开发者_StackOverflow中文版ice than on the sim. How do I fix it?


I assume you're running at most iPhone OS 3.1.2.

I asked this question already. You are likely using the UITableViewCellStyleValue1 style for your cells. The solution is to set cell.detailTextLabel.text to something other than nil.

I filed a bug a few months ago with Apple. I recently got an e-mail from Apple that said the bug should be fixed in the next SDK, but I haven't yet tested it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜