Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

background

A collection of 1 post

Adding Shadows to SwiftUI views
SwiftUI

Adding Shadows to SwiftUI views

Among many things, SwiftUI provides an easy way to add shadows to view with a few lines of code. In today's post, we will see how to add a background shadow to any view in any direction in SwiftUI. To add a background shadow, we will use the background API

  • Jayesh Kawli
Jayesh Kawli May 6, 2022 • 4 min read
Fresh Beginning © 2022
Powered by Ghost