Need to debug something but don't want to buy iphone 12 mini for that purpose.
iPhone 12 mini simulator
Need to debug something but don't want to buy iphone 12 mini for that purpose.
I can't believe this doesn't have more answers/attention. I have huge UI inconsistency issues between mini simulator and mini device, even on Mini 13/iOS 15/Xcode 13, it's completely unreliable. Basically, if you want truly make sure your app looks fine on the mini you have to buy one, which is crazy.
I just encountered this same issue - user is on a real 12 Mini and has a different layout than what I am seeing in the simulator. Would really appreciate it if someone from Apple can comment on this and how you recommend developers to address this issue. Thank you!
Same issue, re: iPhone mini 12; I get screen dimensions of 375x812 (x3) reported in the Simulator. Whereas the actual device dimensions are 360x780 (x3). This basically renders it impossible for me to account for iPhone mini 12 as you've said without having a physical device.
What’s the issue? The simulator is accurate. But note the phone has two “Display Zoom” options: Standard and Zoomed. Mismatch between these modes may be what the OP is reporting above.
As for the mismatch where the device’s physical pixel resolution isn’t equal to the (Standard mode) point resolution multiplied by the scale (3.0), that’s correct. Some iPhone models slightly downscale the “logical” point coordinate system into the “native” pixel coordinate system. But you should be able to ignore this. Just test your app using both Standard and Zoomed modes on simulator models that support it.
Thanks for helping to clarify. I hadn't realized that the logical and physical HxW screen dimensions can sometimes be slightly different, e.g. the iPhone 12 Mini's logical 375x812 (x3) logical vs. physical 360x780 (x3) reporting.