changed minimum version to iOS 6