UIImage
class UIImage : NSObject, NSSecureCoding
-
Create template image.
Declaration
Swift
static func template(named: String, bundle: Bundle = Bundle.main) -> UIImage?Parameters
namedname of image.
bundlebundle which contains image.
Return Value
a template image.
-
Create template image with color.
Declaration
Swift
static func template(named: String, bundle: Bundle = Bundle.main, tintColor: UIColor) -> UIImage?Parameters
namedname of image.
bundlebundle which contains image.
tintColortintColor
Return Value
a template image.
View on GitHub
Install in Dash
UIImage Extension Reference