One of My First View Controller’s method returns an integer value which I want to display it in second view controllers’s text field. how to set the value.because UITetxtfield takes only String as input.
One of My First View Controller’s method returns an integer value which I want
Share
You should save the integer in a
NSStringusing the method:for example
Now number is saved in a
NSStringand you can use it on theUITextFieldproperty