Added ability to check for minimum iOS version.