update detectDeviceBreed() for IOS 12.0 (#723)