MKSG-MugunthKumar / MKNetworkKit

Modern NSURLSession based Networking Framework with built in authentication and HTTP 1.1 caching standards support for iOS 8+ devices
http://mk.sg/8w
3.06k stars 755 forks source link

-[__NSDictionaryM urlEncodedKeyValueString]: unrecognized selector sent to instance #455

Open cczufish opened 9 years ago

cczufish commented 9 years ago

NSDictionary *pDic = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:1], @"userId", [NSNumber numberWithInt:1], @"skuId", nil];

if (([method isEqualToString:@"GET"] || [method isEqualToString:@"DELETE"]) && (params && [params count] > 0)) {

  finalURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@?%@", aURLString,
                                   [self.fieldsToBePosted urlEncodedKeyValueString]]];
}

-[__NSDictionaryM urlEncodedKeyValueString]: unrecognized selector sent to instance 0x170e4ec40