mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 22:23:52 +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 UISegmentedControl *hevcSelector;
|
||||||
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;
|
@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;
|
@property(nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle;
|
||||||
|
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
- (void) saveSettings;
|
- (void) saveSettings;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Reference in New Issue
Block a user