-[__NSCFString objectAtIndex:]: unrecognized selector sent to instance 0x6891460 というエラーが表示される問題を解決してください
NSString *urlString = @"http://192.168.1.190:8080/mwharf/retrive.action?action=consigneeName&startConsgn=";
NSString *url = [urlString stringByAppendingString:txtConsignee.text];
NSData *webData=[NSMutableData dataWithContentsOfURL:[NSURL URLWithString:url]];
NSArray *jsonDict=[NSJSONSerialization JSONObjectWithData:webData options:kNilOptions error:&error];
NSMutableArray *tempArray;
NSMutableArray *consigneeArray=[[NSMutableArray alloc]init];
NSInteger arrayCount=0;
for (int i=0; i<[jsonDict count]; i++) {
consigneeArray =[jsonDict objectAtIndex:i];
NSLog(@"consigneeArray :%@",consigneeArray);
tempArray=[[NSMutableArray alloc]initWithArray:[consigneeArray objectAtIndex:arrayCount]];
[consigneeArray insertObject:tempArray atIndex:arrayCount];
arrayCount++;
}
NSArray *passArray=[NSArray arrayWithObject:consigneeArray];
NSLog(@"passArray :%@",passArray);