I have 3 TextFields and 1 TextView in my first view (proj1) now i want to show the data from these Fields to the next view on the click of a button-"Done!". How do i do this? I know its a very basic question, but i've just started off with iphone app dev, any help would be r开发者_运维问答eally helpfull.
Take a look at this: http://www.iphonedevsdk.com/forum/iphone-sdk-development/54859-sharing-data-between-view-controllers-other-objects.html
You can get the value of a textfield with the text property and set the value of the textview with setText
[textview setText:[textfield text]]
Posting from my android, hope formatting is fine.
It's definitely a big answer. Instead let me post a link - How to share data i.e. pass data between different View Controllers and other Objects
精彩评论