ios - Custom UITableViewCell Leading Alignment to Right Detail Cell -


i using uitableview static uitableviewcells. using custom cells , right detail cells. uilabel within custom cells align uilabel within right detail cells.

i checked within interface builder, , shows uilabel in right detail cell have x origin 15. within custom uitableviewcell, set uilabel have same starting x origin. works great on iphones, when load app on ipad, aren't aligned properly. uilabel within right detail cells appear have starting x origin of 18.

is there can ensure uilabels have same leading alignment within interface builder, or need programmatically set constraints depending on type of device?

unfortunately don't think there's easy way make constraints based on apple's pre-made cells. you'll have go programming constraints manually, or option make own implementation of right detail cell , make constraints same other custom cell.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -