ios - Size class does not works -


enter image description hereenter image description herei need create app adaptive ui. use auto layout , size class. can't expected result. displays different uis different screen sizes. kindly guide me create adaptive ui(for screen sizes). in advance.

this indeed problem constraints mentioned in comments question. using size classes allows set constraints iphones @ lowest level (that's why screen size size class compact x regular same iphones in xcode).

it difficult you, without knowing of constraints. advice is, use preview assistant, can see of devices , generated ui. opening preview assistant, tap on bottom "+" symbol , add device wish inspect.

opening preview assistant

attached xcode screenshot

as can see on screenshot, in storyboard, there margins around middle view, on iphone 4, width smaller, these margins lower (they have lower priority constraint), while view retains it's width/height.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -