UIImage

class UIImage : NSObject, NSSecureCoding

Collection of all UIImage Extensions.

Subspec: Extensions/UIImageExtension

  • Returns an image with a color.

    Declaration

    Swift

    public static func imageWithColor(color: UIColor) -> UIImage

    Parameters

    color

    The color to use.

    Return Value

    UIImage.