2014-09-02 30 views
0

scrollViewWillBeginDragging,scrollViewDidEndDragging,scrollViewDidEndDecelerating 不要開玩笑。scrollViewWillBeginDragging不能正常工作

我已經在VIEW.h文件增加了兩個UIScrollView,並使用我的視圖控制器上VIEW.h實例。但我無法使用滾動視圖代表(我已經在.h文件上添加了UIScrollViewDelegate

Plese help。

+0

'scrollView.delegate = self'。 – 2014-09-02 10:55:54

回答

1

如果您在.h文件中添加了UIScrollViewDelegate請檢查您是否爲滾動查看設置了委託,例如scrollview1.delegate = selfscrollview2.delegate = self