Forum Xamarin.iOS

How the TitleForFooter works?

I need to update the footer of a section in UITableViewController every time the table displays, however I noticed that the first time when the table displays, the TitleForFooter is called for all sections, but it won't be called for the section that has set the footer in the last display, can some one help, how to solve this?

The following is a sample code, the section for SECTION_B is only passed in the first time the table is displayed, but I need to update the footer of the section B every time the table is displayed

public override string TitleForFooter (UITableView tableView, nint section)
if (section == SECTION_B)
if (some condition)
return "Hello!";
return string.Empty;

return base.TitleForFooter (tableView, section);


Sign In or Register to comment.