I have two textfield (username & password) and want to make top rounded corner for username and bottom rounded corner for password as per attachment.

Just create a UIView.
Put your two text fields in the UIView.
Remove the border style of UITextField.
yourView.layer.cornerRadius = 10.0
yourView.clipsToBounds = true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With