IQKeyBoardManager按钮"Done"能否改为"确定",能的话怎么改?!

IQUIView+IQKeyboardToolbar.m文件里面,找到这一个,替换成initWIthTitle这个方法
// IQBarButtonItem *doneButton =[[IQBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:target action:doneAction];
IQBarButtonItem *doneButton =[[IQBarButtonItem alloc] initWithTitle:@"完成" style:UIBarButtonItemStyleDone target:target action:doneAction];

方法二 :
info.plist文件中
Localization native development region 设置为china

你可能感兴趣的:(IQKeyBoardManager按钮"Done"能否改为"确定",能的话怎么改?!)