From c5acf859219eaa48c3ca432479b3bf6d217cace4 Mon Sep 17 00:00:00 2001 From: Adonis Peralta Date: Thu, 22 Feb 2018 23:52:57 -0500 Subject: [PATCH] Fix message status bar positioning --- RMessage/RMessageView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMessage/RMessageView.m b/RMessage/RMessageView.m index ae3c2f9..04c9a60 100644 --- a/RMessage/RMessageView.m +++ b/RMessage/RMessageView.m @@ -986,7 +986,7 @@ - (void)present - (void)layoutMessageForPresentation { _titleSubtitleContainerViewTopConstraint.constant = 10.f; - CGFloat statusBarHeight = statusBarHeight = [self.viewController prefersStatusBarHidden] ? 0.f : ([UIApplication sharedApplication].statusBarFrame.size.height / 2.f); + CGFloat statusBarHeight = statusBarHeight = [self.viewController prefersStatusBarHidden] ? 0.f : ([UIApplication sharedApplication].statusBarFrame.size.height); UINavigationController *messageNavigationController = [self rootNavigationController];