fix iphone detect