simulator does't shows exact replica of the actual device.

The simulator doesn't replicate the layout as it does on actual device.


Observe the white space on the right side.

Also, I had to calculate the width for all the devices available and set it manually.

How do I calculate a zoomscale that fits the views properly in all the devices available right now or will be launched in future.

Can provide a POC if someone is willing to help.

Replies

Images don't show in this forum...

For Best Results - Read the Label

https://forums.developer.apple.com/thread/97547


You need to upload the image to another site and include a link to it.

You should probably post the link with a space in it to avoid it going into moderation...

For instance...

htt ps://link...


You may also need to paste it into a text editor and make that change prior to pasting it here since once the forum becomes aware of it being a link, it could still go into moderation.