I have a UIView and inside that there is a subview which is UIView again, inside that UIView i want to add a UILabel at the centre , I am using Autolayout. I have added all the constraints to all the views , but UILabel at the centre is only visible on iPad screens, it goes missing on smaller screen, my doubt is, when its coordinates, when are calculated on resized parent UIView, turns out to be wrong or it gets squeezed so much that it becomes invisible.

Please help me on this, I am not an expert in auto layout so obvious.
Thanks

[![enter image description here](https://i.stack.imgur.com/CXsVY.png)](https://i.stack.imgur.com/CXsVY.png)

[![enter image description here](https://i.stack.imgur.com/QQVhn.png)](https://i.stack.imgur.com/QQVhn.png)

Also the outer UIView will be presented fullscreen in parent ViewController