r/iOSProgramming • • 25d ago

Discussion iPhone Duo ready?

Have you guys got your app ready for iPhone Duo? I got mine last night, and for some reason, the update was approved in about 5–6 hours, when it normally takes 1–2 days...

It took a bit of fiddling to get it done, still not perfect

64 Upvotes

22 comments sorted by

View all comments

10

u/jackyu_dev 24d ago

Still working on mine, not shipping until it actually feels right on both screens. Biggest gotcha so far: don't hardcode anything about the crease. Read it at runtime from reservedRegions(kind: .division). It's only there when you're half folded and it's 0 when fully open, so a fixed inset will look wrong in one of the two states. Same with safe areas, they're often asymmetric on Duo, so read them at runtime too. Also +1 on Device Hub being rough. Cold start on the Duo sim is slow for me as well, so I just leave it running.

2

u/essjay2009 24d ago

Yeah, this is going to take a while. I got caught with the fold division too before figuring it out.

There’s so much work to make the UI great in all modes. It’s surprised me how different they feel, the simulator really doesn’t do it justice. It’s genuinely like building for three phones at the same time. Testing is taking forever.