Button

class Button : UIButton

Custom UIButton for STLocationRequestController

  • LayoutSubviews

    Declaration

    Swift

    override func layoutSubviews()
  • Return a UIImage with a given UIColor and CGSize

    Declaration

    Swift

    private func getImageWithColor(_ color: UIColor, size: CGSize) -> UIImage?

    Parameters

    color

    The color of the returned UIImage

    size

    The size of the returned UIImage

    Return Value

    Optional UIImage