Skip to content

zengqingf/iOSAppLanguageSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS应用内手动切换语言

iOS手动切换显示语言

基本API包括下面三个

NSBundle+AppLanguageSwitch.h

//设置语言
+ (void)setCusLanguage:(NSString *)language;
//获取语言
+ (NSString *)getCusLanguage;
//恢复成系统语言
+ (void)restoreSysLanguage;

通知key一个

//当app语言改变之后发送通知
NSString * const ZZAppLanguageDidChangeNotification;

Support

StoryBoard Xib NSLocalizedString

##效果图

更多用法请看demo,觉得好用的话别忘star一下哦!

About

iOS手动切换显示语言

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published