A patent application filed by Apple, and obtained by the Times, reveals how the software would work. If a person were to hold up their iPhone, the device would trigger the attention of infra-red sensors installed at the venue. These sensors would then instruct the iPhone to disable its camera.