英文改成中文方法:
1.公共.strings檔案中新增
NSString *const MJRefreshHeaderIdleText = @"下拉可以重新整理";
NSString *const MJRefreshHeaderPullingText = @"松開立即重新整理";
NSString *const MJRefreshHeaderRefreshingText = @"正在重新整理資料中...";
NSString *const MJRefreshAutoFooterIdleText = @"點選或上拉加載更多";
NSString *const MJRefreshAutoFooterRefreshingText = @"正在加載更多的資料...";
NSString *const MJRefreshAutoFooterNoMoreDataText = @"已經全部加載完畢";
NSString *const MJRefreshBackFooterIdleText = @"上拉可以加載更多";
NSString *const MJRefreshBackFooterPullingText = @"松開立即加載更多";
NSString *const MJRefreshBackFooterRefreshingText = @"正在加載更多的資料...";
NSString *const MJRefreshBackFooterNoMoreDataText = @"已經全部加載完畢";
2.在info.plist檔案中找到“Localization native development region”字段value值改成“China”
3.運作之後就變成中文
PS:這樣修改是根據運作系統環境的語言環境變化而變化,若在模拟器上運作,需要修改模拟器語言環境位中文才可以;
君凱商聯網-iOS-字唐名僧