UIView
の幅に伸ばす必要がある がありますUIScrollView
。問題は次のとおりです。
その UIView (EGOTableViewPullRefresh、単なるカスタム UIView) を拡張する必要があります。ビューの初期化で、
[_refreshHeaderView setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
. 私は試した:
-(void)scrollViewDidZoom:(UIScrollView *)scrollView {
NSLog(@"scrollViewDidZoom");
[_refreshHeaderView setFrame:CGRectMake(0.0f, 0.0f - webScroller.bounds.size.height, webScroller.frame.size.width, webScroller.bounds.size.height)];
}
ただ、見た目はイメージ通り。iOS で設計されたページ (Mobile Google など) に入ると、問題ないように見え
ます。