开发者

what is the simplest way to have text show if a tableview section is empty?

开发者 https://www.devze.com 2023-01-19 16:46 出处:网络
Preferably without looking like a cell. I would li开发者_C百科ke to display \"tap edit in the upper right to add syllables\"Your best bet would probably be to implement the tableView:titleForFooterInS

Preferably without looking like a cell. I would li开发者_C百科ke to display "tap edit in the upper right to add syllables"


Your best bet would probably be to implement the tableView:titleForFooterInSection: method in the class that implements UITableViewDataSource.


Adding a sub view to your tableView with the same bounds should do it.

0

精彩评论

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