开发者

UIView Overgive Value

开发者 https://www.devze.com 2022-12-17 02:00 出处:网络
when calling another UIView how can I send a value: ServerSelect *neu =[[ServerSelect alloc] initWithNibName:nil bundle:nil];

when calling another UIView how can I send a value:

ServerSelect *neu =[[ServerSelect alloc] initWithNibName:nil bundle:nil]; [self presentModalView开发者_StackOverflowController:neu animated:NO];

to this view?

Andreas


I assume ServerSelect is an subclass of UIViewController? If so, you can just declare a property in the ServerSelect class and set the property before you display your view.

0

精彩评论

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

关注公众号