diff --git a/Classes/AQGridView.m b/Classes/AQGridView.m index 8774f88..ba6c0c2 100644 --- a/Classes/AQGridView.m +++ b/Classes/AQGridView.m @@ -489,8 +489,11 @@ - (void) setContentSize: (CGSize) newSize if (self.gridFooterView) { + // In-call status bar influences footer position + CGFloat statusHeight = CGRectGetHeight([UIApplication sharedApplication].statusBarFrame) - 20; + CGFloat footerHeight = CGRectGetHeight(self.gridFooterView.bounds); - CGFloat minimumHeight = CGRectGetHeight(self.bounds) + footerHeight; + CGFloat minimumHeight = statusHeight + CGRectGetHeight(self.bounds) + footerHeight; if (newSize.height < footerHeight + minimumHeight) newSize.height = minimumHeight; }