I've been searching now for 2 days and can't find any examples with the iOS equivalent of UITableViewHeaderFooterView
Any suggestions of where to find this?
For those of you still scratching your head with the issue of adding a custom Table Header (not a section header), here's the solution:
In your ViewDidLoad method add the following code:
NSArray array = NSBundle.MainBundle.LoadNib("NameOfYourXIBFile", this, null);
UIView view = Runtime.GetNSObject(array.ValueAt(0)) as UIView;
this.TableView.TableHeaderView = view;
Bonus: repeat the same procedure for a custom Table Footer, but instead do in the last line:
this.TableView.TableFooterView = view;
Thanks You very much, it helped Me !
Best Regards !
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies