Fix picker view colur
This commit is contained in:
parent
4b06635f11
commit
9db76badd9
4 changed files with 1 additions and 11 deletions
|
@ -28,10 +28,8 @@
|
|||
|
||||
[UINavigationBar appearance].standardAppearance = [[UINavigationBarAppearance alloc] initWithBarAppearance:barAppearance];
|
||||
[UINavigationBar appearance].scrollEdgeAppearance = [UINavigationBar appearance].standardAppearance;
|
||||
[UINavigationBar appearance].overrideUserInterfaceStyle = UIUserInterfaceStyleDark;
|
||||
|
||||
[UITabBar appearance].standardAppearance = [[UITabBarAppearance alloc] initWithBarAppearance:barAppearance];
|
||||
[UITabBar appearance].overrideUserInterfaceStyle = UIUserInterfaceStyleDark;
|
||||
} else {
|
||||
[UINavigationBar appearance].backgroundColor = barBackground;
|
||||
[UITabBar appearance].backgroundColor = barBackground;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>UIUserInterfaceStyle</key>
|
||||
<string>UIUserInterfaceStyleDark</string>
|
||||
<string>Dark</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
|
|
@ -8,12 +8,8 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface UIAlertAction (Common)
|
||||
+ (UIAlertAction *)okAction;
|
||||
+ (UIAlertAction *)okActionWithHandler:(void (^)(UIAlertAction *action))handler;
|
||||
+ (UIAlertAction *)cancelAction;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
|
|
@ -348,9 +348,7 @@ NSString *backupNameSelected;
|
|||
}
|
||||
|
||||
-(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component{
|
||||
|
||||
return _backupFolderArray.count;
|
||||
|
||||
}
|
||||
|
||||
-(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView{
|
||||
|
@ -358,9 +356,7 @@ NSString *backupNameSelected;
|
|||
}
|
||||
|
||||
-(NSString*)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component{
|
||||
|
||||
return _backupFolderArray[row];
|
||||
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Reference in a new issue