ios - How to make auto layout for uiview inside uitableViewCell -


i'm working universal app; i've 2 uiview (top view , bottom view) top view imageview , bottom view uitableview; make constrains tableview , label inside cell; problem on ipad; shown on following images first screen shoot

so when put constrains uilbael @ center of cell it's center @ devices except ipad

these constrains

the problem here ipad uilabel not on center enter image description here

did check label has constraint horizontally centered in container? cannot tell screen shot. see guide lines, not meant constraint set. select horizontal centered in container align menu. if doesn't work i'd suggest keeping constraints , changing size class ipad (regular/regular) , adding constraint.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -