Button
class Button : UIButton
Custom UIButton for STLocationRequestController
-
The highlighted background color
Declaration
Swift
private var highlightedBackgroundColor: UIColor
-
Convenience initializer to instantiate a STLocationRequest button
Declaration
Swift
convenience init(configurationButton: STLocationRequestController.Configuration.Button, target: Any?, action: Selector)Parameters
titleThe title
fontThe font
targetThe target
actionThe action
-
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
colorThe color of the returned UIImage
sizeThe size of the returned UIImage
Return Value
Optional UIImage
View on GitHub
Button Class Reference