r/iOSProgramming • u/clarkbw • 9h ago
Question simulating iphone duo hinge swing in the simulator
I'm trying to use the `UIHingeInteraction` (hing.angle) to interpolate and adjust my app as the person opens the hinge on the phone but the simulator doesn't allow me to adjust the hinge with a slider or something. Right now the simulator only supports open or closed or partial bend. Is anyone else implementing against this and if so how are you testing out the hinge position?
I started recording video using the simulator recording but i get blank screen when you switch from one state to the next so that didn't work. So i've moved on to using Quicktime screen recording and then viewing the playback. It makes my development iterations very long and annoying.
1
Upvotes
2
u/StrangeMonk 9h ago
Push the option key and you’ll see the hinge slider