S
S
Stanislav Korolevskiy2015-09-06 19:58:44
Apple Xcode
Stanislav Korolevskiy, 2015-09-06 19:58:44

Problems with simulator scale in Xcode?

Hello! Faced the following problem - the screen content is not scaled correctly in the Xcode simulator. The size of the playground was set to the screen resolution of the iphone 5. It can be seen that all the contents fit, but when the simulator is turned on, the scale goes astray. How to be? Help me please!
d2ebeeb30d2e440dbfaffb2723519f5f.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2015-09-06
@korolevsky_s

1) Made for wAny hAny, which means the size is universal, and not just for iPhone.
2) iPhone screen sizes in IB are considered without retina, respectively, 2 times smaller.
3) It is necessary to do the layout on autolayots, and not on constants, it will be better that way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question