UITableView问题:无法在UITableView中用UIColor显示动态数据
我正在使用 UITableView,从文件中获取数据并使用 UItableview 显示该数据。我所做的是将数据放置在 UILabel 中,然后将此标签添加到内容视图中。这工作正常。但是,当我将标签文本的颜色更改为蓝色,然后我从前几个单元格移向末尾时,我发现文本正在重叠。一切似乎都是蓝色的,我看不到文字。我有什么遗漏的吗?我也使用了reloaddata,但它不起作用。
预先感谢,
阿比
I am working with the UITableView where i am getting the data from the file and displaying that data with the UItableview. What i did was i placed the data in the UILabel and then i added this label to the contentview. This is working fine. But when i change the color of the label text to blue and then i moved from the first few cells towards the end and what i found was that the text is being overlapped. Everything seems to be blue and i am not able to see the text. Is there anything i am missing?. i used reloaddata also but its not working.
Thanks in advance,
Aby
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经为我遇到问题的其他内容添加了标签。所以文本不会与标签重叠
I have added the label for the other content where i was getting problem. So the text is not getting overlapped with labels