checks your current iOS Version and lets your code react accordingly