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.
精彩评论