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
title
The title
font
The font
target
The target
action
The 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
color
The color of the returned UIImage
size
The size of the returned UIImage
Return Value
Optional UIImage