iOSAppLanguageSwitchDemo/Class/NSBundle+AppLanguageSwitch.h

38 lines
822 B
C
Raw Permalink Normal View History

2017-06-13 19:04:41 +08:00
//
// NSBundle+AppLanguageSwitch.h
// https://github.com/zengqingf/iOSAppLanguageSwitch
//
// Created by zengqingfu on 2017/6/13.
// Copyright © 2017年 zengqingfu. All rights reserved.
//
#import <Foundation/Foundation.h>
//语言改变通知
FOUNDATION_EXPORT NSString * const ZZAppLanguageDidChangeNotification;
2017-06-13 20:01:17 +08:00
2017-06-13 19:04:41 +08:00
@interface NSBundle (AppLanguageSwitch)
/**
@param language Base.lproj Base
zh-Hans.lproj传入zh-Hans
*/
+ (void)setCusLanguage:(NSString *)language;
/**
使nil
@return
*/
+ (NSString *)getCusLanguage;
/**
*/
+ (void)restoreSysLanguage;
@end