iphone SDK - How to Connect 2 controller?
hello I have a problem with 2 controllers. the first controller running an tableview populated by a list of names and when I select a name on the first controller should pass the name chosen in the second controller. how 开发者_高级运维can I do this?
Declare properties in the second view controller for the things you want to pass to it. Then, it tableView:didSelectRowAtIndexPath:
set those properties from the first view controller.
精彩评论