I want conjoined email & password textfields like so -
See how both the fields are nicely rounded & the background color is blue.
The way I have implemented this is to create a custom tableViewCell with a label and a text field in a grouped table view probably with a single section and two rows one of which is for username and other for password.
What I have got is below. I have come close to implementing this but I am getting a weird grey background. How do I get rid of this grey background?
I think to remove gray background u should do one thing
tableView.backgroundColor = [UIColor clearColor];
in viewDidLoad
or if above code doesn't work try this.
tableView.backgroundView = nil;
I accomplish this with two lines:
self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundView = nil;
Depending on the opacity you want you can also make sure of this:
self.tableView.opaque = NO;
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