Add Buton Border Swift

[Solved] Add Buton Border Swift | Swift - Code Explorer | yomemimo.com
Question : add buton border swift

Answered by : friendly-fish-j9elqy74i87c

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

Source : | Last Update : Sun, 03 May 20

Question : add border to button swiftui

Answered by : mobile-star

 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) ) }

Source : | Last Update : Fri, 20 Mar 20

Answers related to add buton border swift

Code Explorer Popular Question For Swift