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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -