我想使用restful服务从我的iphone / ipad发送我的gps数据,但我收到错误
'NSInvalidArgumentException原因:发送到无法识别的选择器 类
我在跟踪代码时遇到错误。
[NSString stringwithFormat:@"http://192.168.0.105/TestServices/Service2.svc/gpsdata?latitude=%f&longitude=%f",location.coordinate.latitude,location.coordinate.longitude];
答案 0 :(得分:0)
大写不正确,应该是stringWithFormat!