开发者

inbuilt save button text

I want to change here title of button can i change by default it is coming 'save' can it be changed

UIBarButtonItem *dowButton = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemSave
                                                                      开发者_Go百科     target:self action:@selector(download)];

strong text


Create an own UIBarButtonItem instead of using the UIBarButtonSystemItemSave:

UIBarButtonItem *dowButton = [[[UIBarButtonItem alloc] initWithTitle:@"Download" style:UIBarButtonItemStylePlain target:self action:@selector(download)] autorelease];

This will helps you :-)


Try Using the method

- (id)initWithTitle:(NSString *)title style:(UIBarButtonItemStyle)style target:(id)target action:(SEL)action
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜