It\'s a pretty straight-forward question - how does one apply a border effect to only the wanted edges of an Image with SwiftUI?
For example, I only want to apply a borde
Similar to @smakus, if you don't need to control color or thickness, you can just do this:
.overlay(Divider(), alignment: .top) .overlay(Divider(), alignment: .bottom)