Last row slightly covered
Hi,
When I scroll my grid to view bottom row, it is slightly covered by the iPhone screen. Help with adjusting the scroll, thanks
Don’t think this is an issue with the project, confidence level 90%. I suspect you are using translucent bars or setting needsFullscreenLayout to yes. Try looking into these properties. Also try twiddling the frame for the grid view so it does not occupy the whole view, and set clipsToBounds to NO. In any case, also try -[self.view recursiveDescription] or incorporating DCIntrospect to find the root cause.
Please keep us posted if you are able to solve it.
On Nov 10, 2012, at 7:29 PM, nolanRatu [email protected] wrote:
Hi,
When I scroll my grid to view bottom row, it is slightly covered by the iPhone screen. Help with adjusting the scroll, thanks
Reply to this email directly or view it on GitHub: https://github.com/AlanQuatermain/AQGridView/issues/178
I just had a similar problem. The content of the cell seems to extend the cell's contentView. Adding some extra pixel to the portraitSize worked. I just still don't understand how this is constructed. Setting it equal to the GridViewCell's frame does not work and the scroll view's contentSize is calculated based on the contentView size of the cells and not on the actual content?
- (CGSize)portraitGridCellSizeForGridView:(AQGridView *)gridView {
CGSize cellSize = _cellFrame.size;
cellSize.height += 40;
return cellSize;
}