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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -