Built in

Puts away whatever sheet is open over a video or post — the comments, the share sheet, a more menu, Instagram's save sheet — or any app's pop-up (a card or a sheet with a way out: Not now, Cancel, a cross), and waits for the screen under it to stop moving. Does nothing when nothing is open.

56 steps
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop