diff --git a/Limelight/ViewControllers/SettingsViewController.h b/Limelight/ViewControllers/SettingsViewController.h index fc571b63..a3b8a074 100644 --- a/Limelight/ViewControllers/SettingsViewController.h +++ b/Limelight/ViewControllers/SettingsViewController.h @@ -21,8 +21,14 @@ @property (strong, nonatomic) IBOutlet UISegmentedControl *hevcSelector; @property (strong, nonatomic) IBOutlet UIScrollView *scrollView; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunguarded-availability" + +// This is okay because it's just an enum and access uses @available checks @property(nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle; +#pragma clang diagnostic pop + - (void) saveSettings; @end