ios - check if UICollectionView is on top (not-scrolled) or not -


i make animation scroll top of uicollectionview, if not on top already.

is there way tell if uicollectionview scrolled top or not?

thank you.

if collectionview.contentoffset == cgpointzero can say, not scrolled @ all.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -