ios - Align an Icon to the top left of multiline UILabel -


on top left on uilabel want align icon. works file if label has multiple lines uiimage aligned in middle of uilabel. there option on interface builder such first base line, need first line center y. there similar?

enter image description here

just put constraints shown in above image.

hint: made label's lines property value 5 supports upto 5 lines without compromise.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -