开发者

iphone SDK - How to Connect 2 controller?

开发者 https://www.devze.com 2023-01-26 07:59 出处:网络
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 se

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消