In my iPhone app, I am making an access to the webserver to fetch the data.
Here I am using JSON to retrieve the data from database.
I get a warning that says:
NSString may not respond to '-JSONValue'
How to resolve it?
在.m
或.h
文件的顶部添加#import "JSON.h"
。
您是否尝试将JSON库添加到项目中并导入它
#import "JSON/JSON.h"
你可能只是错过了你的JSON库的包含
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.