MBBMicroblinkApp
@interface MBBMicroblinkApp : NSObject
@property (nonatomic) NSString *language;
/** Bundle with resources used in framework */
@property (nonatomic) NSBundle *resourcesBundle;
/** Custom bundle for overriding resourcesBundle */
@property (nonatomic) NSBundle *customResourcesBundle;
/** Localization file in main bundle used for overrideing framework's localizations */
@property (nonatomic) NSString *customLocalizationFileName;
/** Obtain the shared instance */
+ (instancetype)sharedInstance NS_SWIFT_NAME(shared());
/** Sets the language used in PhotoPaySDK */
- (void)setLanguage:(NSString *)language;
/** Sets the language to default (i.e. language specified in the user's device settings */
- (void)setDefaultLanguage;
/** Pushes the UIApplication status bar style to a internally handled stack */
- (void)pushStatusBarStyle:(UIStatusBarStyle)statusBarStyle;
/** Returns the status bar style to the last saved value */
- (void)popStatusBarStyle;
/** Push the status bar hidden value */
- (void)pushStatusBarHidden:(BOOL)hidden;
/** pops the status bar hidden value */
- (void)popStatusBarHidden;
/** Sets the key that the help was shown to true */
- (void)setHelpShown:(BOOL)value;
/** Returns true if the help was already shown */
- (BOOL)isHelpShown;
/**
* Returns the default resources bundle. If it doesn't exist, it will be nil.
*/
+ (NSBundle *)getDefaultResourcesBundle;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSString *languageSwift
var language: String! { get set } -
Bundle with resources used in framework
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) NSBundle *resourcesBundle;Swift
var resourcesBundle: Bundle! { get set } -
Custom bundle for overriding resourcesBundle
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) NSBundle *customResourcesBundle;Swift
var customResourcesBundle: Bundle! { get set } -
Localization file in main bundle used for overrideing framework’s localizations
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) NSString *customLocalizationFileName;Swift
var customLocalizationFileName: String! { get set } -
Obtain the shared instance
Declaration
Objective-C
+ (instancetype)sharedInstance;Swift
class func shared() -> Self! -
Sets the language to default (i.e. language specified in the user’s device settings
Declaration
Objective-C
- (void)setDefaultLanguage;Swift
func setDefaultLanguage() -
Pushes the UIApplication status bar style to a internally handled stack
Declaration
Objective-C
- (void)pushStatusBarStyle:(UIStatusBarStyle)statusBarStyle;Swift
func push(_ statusBarStyle: UIStatusBarStyle) -
Returns the status bar style to the last saved value
Declaration
Objective-C
- (void)popStatusBarStyle;Swift
func popStatusBarStyle() -
Push the status bar hidden value
Declaration
Objective-C
- (void)pushStatusBarHidden:(BOOL)hidden;Swift
func pushStatusBarHidden(_ hidden: Bool) -
pops the status bar hidden value
Declaration
Objective-C
- (void)popStatusBarHidden;Swift
func popStatusBarHidden() -
Sets the key that the help was shown to true
Declaration
Objective-C
- (void)setHelpShown:(BOOL)value;Swift
func setHelpShown(_ value: Bool) -
Returns true if the help was already shown
Declaration
Objective-C
- (BOOL)isHelpShown;Swift
func isHelpShown() -> Bool -
Returns the default resources bundle. If it doesn’t exist, it will be nil.
Declaration
Objective-C
+ (NSBundle *)getDefaultResourcesBundle;Swift
class func getDefaultResourcesBundle() -> Bundle!
View on GitHub
MBBMicroblinkApp Class Reference