CB-6360 - improvement: feature detection instead of iOS version detection