Keyboard Append Complete button
Uitoolbar * TopView = [[Uitoolbar alloc]initwithframe:cgrectmake (0, 0, 320, 30)];
[TopView Setbarstyle:uibarstyledefault];
Uibarbuttonitem * Btnspace = [[Uibarbuttonitem alloc]initwithbarbuttonsystemitem:uibarbuttonsystemitemflexiblespace Target:self Action:nil];
UIButton *btn = [UIButton buttonwithtype:uibuttontypecustom];
Btn.frame = CGRectMake (2, 10, 50, 25);
[Btn addtarget:self Action: @selector (Dismisskeyboard) forcontrolevents:uicontroleventtouchupinside];
[BTN settitle:@ "completed" forstate:uicontrolstatenormal];
[btn settitlecolor:[uicolor colorwithred:31.0/255.0 green:112.0/255.0 blue:175.0/255.0 alpha:1.0] ForState: UIControlStateNormal];
Btn.titlelabel.textcolor=[uicolor Redcolor];
Uibarbuttonitem *donebtn = [[Uibarbuttonitem alloc]initwithcustomview:btn];
Nsarray * Buttonsarray = [Nsarray arraywithobjects:btnspace,donebtn,nil];
[TopView Setitems:buttonsarray];
[_textest Setinputaccessoryview:topview];
}
iOS Keyboard append complete button