Swift Tutorials: Aligning text and image on UIButton

UIEdgeInsets are handy when it comes to give padding to title of UIButton having image or in other words when we need aligning text and image on UIButton. According to Apple docs UIEdgeinset Edge inset values are applied to a rectangle to shrink or expand the area represented by that rectangle. Typically, edge insets are […]

Swift Tutorials: Aligning text and image on UIButton Read More »