detect IOS version upper or lower than 5