Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

add border to button swiftui

    Button(action: {
        print("sign up bin tapped")
    }) {
        Text("SIGN UP")
            .frame(minWidth: 0, maxWidth: .infinity)
            .font(.system(size: 18))
            .padding()
            .foregroundColor(.white)
            .overlay(
                RoundedRectangle(cornerRadius: 25)
                    .stroke(Color.white, lineWidth: 2)
        )
    }
Comment

add buton border swift

button.layer.borderWidth = 1
button.layer.borderColor = UIColor.black.cgColor
Comment

PREVIOUS NEXT
Code Example
Swift :: play sound swift stack overflow 
Swift :: xcode hide keyboard when touch background storyboard 
Swift :: custom screen presentation controller coner radius swift 
Swift :: stackoverflow get firbas analytics in ios 
Swift :: swift collection view cell size 
Swift :: date formatter swift 
Swift :: xcode label rotate text 
Swift :: check when webview finish loading swift 
Swift :: button sizetofit not working swift 
Swift :: iOS 10.3.1 Simulator manually 
Swift :: Return different data types swift 
Swift :: swift go back to previous view controller 
Swift :: swift test if simulator 
Swift :: access bank swift code 
Swift :: index string swift 
Swift :: and in swift4 
Swift :: how to style textfield swiftui 
Swift :: dismiss keyboard when tap outside swift 5 
Swift :: swift get "system" asset image 
Swift :: swift uitextfield placeholder color 
Swift :: swift get current hour 
Swift :: Equatable Function Swift 
Swift :: how to Not bool bindng swiftui 
Swift :: swift extension Array of type 
Swift :: Swift guard-let Statement 
Swift :: two value sum 
Swift :: printf in swift 
Swift :: Swift static Methods 
Swift :: swift variables 
Swift :: xcode create image from calayer 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =