I have an iphone application containing two views
The first view have a button, now
i want to show the title of the button on the second view when that button is clicked.
How can i do it because if we save the title into a string ,the string get emptied when second view is loaded ?
I have an iphone application containing two views The first view have a button,
Share
In the interface declare the string and make a property:
In the implementation synthesize the string after @implementation MyViewController like this:
Then when you alloc/init the view controller you can set the property like this:
Hope this gives you more detail.
Thanks
James