NSURL not getting allocatd with NSString
问题 This' strange because all my other NSUrls in program are working properly but this one isn't getting allocated with NSString. I'm using: urlStr_ = [NSString stringWithFormat:@"http://192.168.10.2/justmeans/trunk/appaddgoodwork?gencode=%@&deviceid=@%@&sessionkey=%@&userid=%@&updatetext=%@&companyid=%d&service_type=%@",securitycode,deviceId,sessionKey,userId,finalTextInTxtVw,companyId,service_type]; urlStr_ = [urlStr_ stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding