I am using Xamarin.iOS
. I have created UIView
with a few UITextField
s. I am looking for best way to initialize text value in these textfields from code.
I can pass text data in the constructor of UIViewContoller
, but I don't have access to textFields inside it (they are null). I can change text value of textFields in viewDidLoad method.
I don't want to create additional fields in controller class to store data passed by constructor and use them in viewDidLoad. Do you know better solution ?