Fix picker view colur

This commit is contained in:
23 Aaron 2020-02-02 15:33:02 -05:00
parent 4b06635f11
commit 9db76badd9
4 changed files with 1 additions and 11 deletions

View file

@ -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;

View file

@ -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>

View file

@ -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

View file

@ -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