ios - Button with Image and a label on bottom -


i want make button has icon , label on bottom of this:

enter image description here

what best way this? possible drag image view object , label button?

uibutton has 2 properties may find of interest. titleedgeinsets , imageedgeinsets.

use property resize , reposition effective drawing rectangle button title. can specify different value each of 4 insets (top, left, bottom, right). positive value shrinks, or insets, edge—moving closer center of button. negative value expands, or outsets, edge

you play around these desired layout.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -