Skip to content

Commit

Permalink
消除警告
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Apr 10, 2024
1 parent 7b44fc9 commit d5abcdc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LEEAlert/LEEAlert.m
Original file line number Diff line number Diff line change
Expand Up @@ -2041,9 +2041,10 @@ - (void)viewDidLoad{
self.edgesForExtendedLayout = UIRectEdgeNone;

self.extendedLayoutIncludesOpaqueBars = NO;

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
self.automaticallyAdjustsScrollViewInsets = NO;
#pragma clang diagnostic push
if (self.config.modelBackgroundStyle == LEEBackgroundStyleBlur) {

self.backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:nil];
Expand Down

0 comments on commit d5abcdc

Please sign in to comment.