Pergunta

I would like to make a custom header view for a table view section in Xamarin.IOS with interface builder. However, I dont want this view to have a static content, instead I would like to create outlets, so I can modify the element's value contained in the view.

I have done custom table view cells before with interface builder (piece of cake), so the question is: is there any way to accomplish this on a section header too?

This is what I want to do:

enter image description here

PD: I'm using monotouch.dialog, and this controller is a DialogViewController

Foi útil?

Solução

I recommend you to use a UIViewController instead a UITableViewController and put the first part of your design (the user information and the buttons) in a UIView and the restrings section in a UITableView.

It's a better solution than implementing a UITableViewController with multiple headers.

let me know if it works for you.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top