ios - How to change text of edit and done button in obcjective-c? -


i want change text of "edit" , "done" button on navigation bar, on ios app written in objective-c, how can that?

this want want.

    uibutton *btncustome = [[uibutton alloc]initwithframe:cgrectmake(0, 0, 60, 30)];     [btncustome settitle:@"edit" forstate:uicontrolstatenormal];     [btncustome settitle:@"done" forstate:uicontrolstateselected];      uibarbuttonitem *rightbtn = [[uibarbuttonitem alloc]initwithcustomview:btncustome] ;     self.navigationcontroller.navigationitem.rightbarbuttonitem = rightbtn; 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -