iPhone Duo supports Shortcuts actions triggered by opening or closing
The new automation option sits in the Display category and could let users change wallpapers depending on whether the device is open or closed.

Opening or closing the iPhone Duo can trigger actions in Shortcuts through a new option called "Opened or Closed." Users can find the trigger among the app's Display automations.
Code sleuth pdfu first identified the option in September while examining the iPhone Duo simulator. YouTuber Stephen Robles has since drawn attention to the feature.
One potential application is to have the device display a different wallpaper when opened, then restore the previous wallpaper when closed. Federico Viticci of MacStories has said he plans to explore ideas for automations involving the hinge.




