diff --git a/README.md b/README.md index dc8b8ce..20534e7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,27 @@ -# iOSAppLanguageSwitch +# iOS应用内手动切换语言 iOS手动切换显示语言 + +基本API包括下面三个 +#### NSBundle+AppLanguageSwitch.h + +```objective-c +//设置语言 ++ (void)setCusLanguage:(NSString *)language; +//获取语言 ++ (NSString *)getCusLanguage; +//恢复成系统语言 ++ (void)restoreSysLanguage; +``` +通知key一个 + +```objective-c +//当app语言改变之后发送通知 +NSString * const ZZAppLanguageDidChangeNotification; +``` +## Requirements + +| StoryBoard | Xib | NSLocalizedString | +|:--------------------:|:---------------------------:|:----------------------------:| +| √ | √ | √ | + +更多用法请看demo,觉得好用的话别忘star一下哦! diff --git a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate index 152ef9d..7a8f1e0 100644 Binary files a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate and b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate differ