user interface - Center align a view vertically to other (sibling) view iOS -


i working on ios project , want 2 views vertically aligned respect each other shown in attached image. there image view on left , view on right side. right side view contains labels in it. using autolayouts , have applied constraints image view (i.e. top/leading/height/width).

now want right view center aligned (vertically) thumbnail when this, asks missing constraint y position. don't know how fix (i can not add top/bottom constraint title label can have 1 or 2 lined text , right side view grow accordingly)

is possible achieve this? if yes, how? thanks.

image

it's tableview basically. above image detailed description. whereas, design should following (right side view should centered aligned left side image)

enter image description here


Comments