2016-03-06 118 views

回答

0

是的,有一個圖書館

https://github.com/entotsu/PullToBounce

你必須包裹的CollectionView或表所有

// Please wrap your scroll view 
collectionView.frame = yourFrame 
let collectionWrapper = PullToBounceWrapper(scrollView: collectionView) 

// Please add wrapper view to your view instead of your scroll view. 
bodyView.addSubview(collectionViewWrapper) 

查看庫工程參考文檔的詳細README.md

+0

這隻能選擇在上面添加裝載機,我還需要在博特裝載機。同樣在UICollectionView –

+0

中橫向如果你想在所有方面更好地引用代碼和修改代碼 –