Join Nostr
2026-09-22 16:47:38 UTC

James Thomson on Nostr: PCalc on iPhone Duo Day 2, moving the buttons to avoid the hinge area. I am using the ...

PCalc on iPhone Duo Day 2, moving the buttons to avoid the hinge area.

I am using the UIHingeInteraction API to get notified when the phone is being partially folded, and then the UIViewReservedRegion API to find out where the hinge area is, then rearranging the buttons around it.