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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -