I'm using setInputAccessoryView method to add a done button like in the picture below above the keyboard. However, the button shows up very ugly. So, I need your help to programmatically create the same button (color,button type).
Here's my current code:
btDone = [[UIButton alloc] initWithType:UIButtonTypeRoundedRect];
[btDone setFrame:CGRectMake(85.0f,0.0f,80.0f,40.0f)];
[btDone setTitle:@"Done"];
[btDone setTitleColor:whiteColor];
[btDone setBackgroundColor:blueColor];
Thx for helping,
Stephane