SwiftUI - Working with Images

From PeformIQ Upgrade
Jump to navigation Jump to search

Some Examples

Basics

Image(systemName: "globe.fill")
    .foregroundColor(.green)


Colour Multiplication

Image("lion")
    .colorMultiply(.yellow)

Applying Colour Filters

Image("lion")
    .hueRotation(.degrees(30))
    .saturation(0.6)
    .contrast(2)

Next