开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜