I have code snippet like this
c = NSClassFromString(@"__NSCFURLSession");
Using ios 7 simulator , I was able to get c
c Class __NSCFURLSession 0x00000001113a2ce8
but under ios 8, I am getting
c Class 0x0 0x0000000000000000
Does anyone have a solution for this ?