titleForHeaderInSection in multiple lines (long text)
I want to display a header title for a gr开发者_StackOverflowouped table, but it is only displaying in one line. I am not sure if this is possible, but a table cell can be displayed in multiple lines, but I do not know if the header also.
Thanks in advance!
You can create your own custom view with as many lines as you like and implement tableView:viewForHeaderInSection: to return the custom view instead of tableView:titleForHeaderInSection.
精彩评论