From 7fc95d5e6e2ba1b38f42da054f346ab3370a4e62 Mon Sep 17 00:00:00 2001 From: cleexiang Date: Tue, 22 Oct 2013 11:29:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEheader=E6=97=B6=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=95=B4=E4=B8=AAgridview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KKGridView/KKGridView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KKGridView/KKGridView.m b/KKGridView/KKGridView.m index 3f97330..c3b569a 100755 --- a/KKGridView/KKGridView.m +++ b/KKGridView/KKGridView.m @@ -361,7 +361,7 @@ - (void)setGridFooterView:(UIView *)gridFooterView _gridFooterView = gridFooterView; [self addSubview:gridFooterView]; - [self setNeedsLayout]; + [self _respondToBoundsChange]; } - (void)setGridHeaderView:(UIView *)gridHeaderView @@ -373,7 +373,7 @@ - (void)setGridHeaderView:(UIView *)gridHeaderView _gridHeaderView = gridHeaderView; [self addSubview:gridHeaderView]; - [self setNeedsLayout]; + [self _respondToBoundsChange]; } #pragma mark - Batch Editing