ios - Why my UI Controls are resizing based on the screen of simulator? -


i new @ swift. designing screen xib file size of iphone 6 , , have controls in it, when run in iphone 6plus simulator controls getting bigger, how fix controls in same size in devices. thank you.

1- open xib file

2- in utilities tab should see thisenter image description here

3- in autoresizing part need disable inner arrows . before disable it looks likeenter image description here

after disable looks

enter image description here

thats it!! view have constant size!


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -