Hi,
I am having problems transferring a string from one iOS View to another.
If I have a textfield in View1 called txtName and I want to make it the Title of View2, I thought all I would have to do is write this code.
View2.Title=View1.txtName.Text
But that does not work.
Or if I want to have this code:
View2.txtName.Text=View1.txtName.Text
That does not work either.
I get the error:
Static reference to instance method: call this on an instance of class View1.
I don’t know what the heck that means.
Any guidance would be appreciated.
Thanks
Jim