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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -