Future-proof iOS version check.