UIImage
-
Get the color of a specific pixel in an image. Source: http://stackoverflow.com/a/25956283/2580195
Declaration
Swift
public func getPixelColor(at pos: CGPoint) -> UIColor?
Parameters
pos
Position of the pixel
Return Value
Color at the position