I'm trying to access an instance of NSURLSessionConfiguration
I've tried following statements to retrieve instance of NSURLSessionConfiguration
.
Statement 1.
NSURLSessionConfiguration *aConfig =
[NSURLSessionConfiguration defaultSessionConfiguration];
Above statement returns nil
Statement 2.
NSURLSessionConfiguration *aConfig =
= [[NSURLSessionConfiguration alloc] init];
Above statement also returns nil
.
Can anybody tell me whats wrong with NSURLSessionConfiguration
class?