【发布时间】:2010-02-26 13:53:16
【问题描述】:
根据 ASIHTTPRequest 的网站:
如果您的要求都一样 广泛的类型,但你想 区分它们,可以设置 的 userInfo NSDictionary 属性 每个请求都有您自己的自定义数据 你可以在你完成的/ 委托方法失败。
如何设置用户信息?
NSURL *url = [NSURL URLWithString:@"http://www.google.com"];
ASIFormDataRequest *request = [[ASIFormDataRequest alloc] initWithURL:url];
[request setDelegate:self];
[request startAsynchronous];
【问题讨论】:
标签: iphone set asihttprequest userinfo