Instead of stretching an image to fill space, SwiftUI can tile it by repeating h...
Paul Hudson @twostraws@mastodon.social
Instead of stretching an image to fill space, SwiftUI can tile it by repeating horizontally and vertically. Just pass .tile to the resizable() modifier's resizingMode parameter. https://www.hackingwithswift.com/quick-start/swiftui/how-to-tile-an-image