I\'ve got various views in my iPhone application that require padding e.g a custom UIButton with text aligned left, and a UILabel with a background color.
This may be a
To set padding in UIButton
text you need to use UIButton
's contentEdgeInsets
property.
In Storyboard, to set content inset do following steps:
UIButton