check iPhone compatibility