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 :: Unique device id ios swift 
Swift :: delete padding list swiftui 
Swift :: how to remove background color for uibutton swift 
Swift :: how to disable uitableview selection in swift 
Swift :: custom screen presentation controller coner radius swift 
Swift :: swift quit app 
Swift :: swift convert string to ns muteable string 
Swift :: localized string format swift 
Swift :: uicollectionview detect scroll swift 
Swift :: use of map instad of for loop 
Swift :: swift play audio stream from url 
Swift :: how to add button dynamically in swift 4 
Swift :: Decimal to Double conversion in Swift 
Swift :: how do i get a string from a float swift to 1 decimal swift 
Swift :: textchange in textview swift 
Swift :: button color swiftui 
Swift :: swift scrollview scroll to bottom 
Swift :: swift print 
Swift :: swift add width/height constraint to view 
Swift :: remove cocoapods swiftr 
Swift :: set white place holder color in swift 
Swift :: average in array swift 
Swift :: case insensitive multiple word search swift 
Swift :: Play Video in AVPlayer Sample Code Swift 
Swift :: Swift if..else if 
Swift :: ios get notification payload 
Swift :: swift isKindOf 
Swift :: ring Desktop, WebAssembly and Mobile Using QTableWidget 
Swift :: Swift is case-sensitive. So A and a are different variables 
Swift :: Swift Boolean Literals 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =