我正在格式化 ASIHTTPRequest 以将数组数据发送到服务器。我有一个键数组(propertyKeys)和一个信息数组(propertyValues),并创建了一个循环来设置帖子和键值。
for(int i = 0;i<13;i++){
[request setPostValue:[propertyValues objectAtIndex:i] forKey:[propertyKeys objectAtIndex:i]];
}
但是,我收到以下错误:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURL objectAtIndex:]: unrecognized selector sent to instance 0x4e1d6d0'
我试图查找 AHIHTTPRequest 的文档,但该站点似乎已关闭。