You can use this feature to open your camera and perform other useful tasks. It works even if you keep your iPhone in a case.
Macs, iPhones, and iPads made during and after 2021 may be at risk. However, no attackers have taken advantage.