For example there is a new class in iOS 7 that does not exist in iOS 6. I want to use this new class. My app must stay compatible with iOS 6. So I read in some places that you can now do this:
if ([NSURLSessionConfiguration class]) {
// only in iOS 7
} else {
// do it iOS6 way
}
Is this safe to do in any iOS 6 version or should we still use NSClassFromString
?