UIButton

class UIButton : UIControl, NSCoding
  • Set image and title edge insets to align image top of title.

    Declaration

    Swift

    func alignTitleUnderImage()
  • Set image and title edge insets to align image right of title.

    Declaration

    Swift

    func alignIconAtRight()
  • Undocumented

    Declaration

    Swift

    func addShadow()