Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

blur background swiftui

struct ContentView: View {

    var body: some View {
        ZStack {
            Image("BG")
                .resizable()
                .scaledToFill()
                .edgesIgnoringSafeArea(.all)
                .blur(radius: 20) // <- this is the important modifier. The rest is just for demo
                
            Text("Hello 
SwiftUI Blur Effect")
                .font(.largeTitle)
                .fontWeight(.black)
                .foregroundColor(.white)
        }
    }
}
Comment

PREVIOUS NEXT
Code Example
Swift :: swift remove all duplicates from an array 
Swift :: swift how to change the header color 
Swift :: swift change status bar color 
Swift :: add top corner radius swift 
Swift :: get class name swift 
Swift :: swift set uicolor 
Swift :: get keyboard height swift 
Swift :: swift collectionview scrolltoitem 
Swift :: and in swift 
Swift :: swift go to root view controller 
Swift :: tableview cell animation swift 
Swift :: NumberFormatter swift 
Swift :: swift add width height constraint to view without a lot of code 
Swift :: iOS & Swift - The Complete iOS App Development Bootcamp 
Swift :: swift uitextfield placeholder color 
Swift :: swift image 
Swift :: average in array swift 
Swift :: how to bold 1 word swift 
Swift :: swiftui tutorial 
Swift :: swift extension Array with element 
Swift :: enum in swift 
Swift :: send email swiftui 
Swift :: declare variable in swif 
Swift :: swift apply changes after a word in string 
Swift :: table flutter stackoverflow 
Swift :: Swift Raw Values VS Associated Values 
Swift :: swift open messages app 
Swift :: swift view controller background image 
Swift :: selenium lfor loops 
Swift :: Javascript Define Swift Class 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =