I have some source codes to display all file names in a UITablView
I noticed that if the file name too long, for example filenameabcdefghklmn.dat it will display filenameabcde…
I hope to know what is the best way to display long file name in UITablView?
Thanks
interdev
Customise your table cell and draw the string directly to the table cell’s view.
You can use
sizeWithFont:constrainedToSize:to figure out how big your string will be so you can size your cell appropriately.This post may help you out:
http://www.ubergeek.tv/article.php?pid=143