Skip to content

Commit

Permalink
Merge pull request #1390 from OneSignal/fix/iam_status_bar
Browse files Browse the repository at this point in the history
Update IAM view controller to hide status bar on full-bleed In-App Messages
  • Loading branch information
nan-li authored Apr 15, 2024
2 parents c38544d + 55eed10 commit b3b2a8b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ - (instancetype _Nonnull)initWithMessage:(OSInAppMessageInternal *)inAppMessage
return self;
}

- (BOOL)prefersStatusBarHidden {
// Only the full-bleed IAM should remove status bar
return self.isFullscreen;
}

- (void)viewDidLoad {
[super viewDidLoad];

Expand Down

0 comments on commit b3b2a8b

Please sign in to comment.