【发布时间】:2011-05-02 13:00:16
【问题描述】:
发送一个字符串,我把它:
[request setPostValue:choixCommerce forKey:@"ssiphone_commerce"];//choixCommerce is a NSString
没关系,对于数值,我尝试输入:
[request setPostValue:longitude forKey:@"longitude"];//longitude is NSInteger type
但我收到了这个错误:
incompatible type for argument 1 of 'setPostValue:forKey:'
请问我应该如何发送数值?提前谢谢:)
【问题讨论】:
标签: web-services json ios