mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 10:31:02 +00:00
Suppress availability warning for overrideUserInterfaceStyle field
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user