I am using the below code to retrieve data from web services coming in JSON format
NSString *responseString = [request responseString];
NSDictionary *responseDict = [responseString JSONValue];
NSMutableDictionary *statusDict = [responseDict objectForKey:@"body"];
NSArray *arrayPickListValue = [statusDict objectForKey:@"ticketEntries"];
sometimes data is coming in arrayPickListValue and showing the content on iPhone, however sometimes if ticketEntries key is Null , it is showing Variable is not a CFArray, so how do i solve with this issues
As @Beppe said, you need to check it first: