Removed iOS version detection with the preferred  NSFoundation

Removed iOS version detection with the preferred  NSFoundationVersionNumber check, as per Apples example.