开发者

How to pass an object to a view controller

How do you pass an object开发者_高级运维 to a view controller, right before you push the view to show it?


Define a property in the view controller, synthesize it, then assign viewController.propertyName = someObject;. Simple as a dimple.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜