Read More

Scroll UICollectionView automatically in Swift 3

Scroll UICollectionView

When you show banners in UICollectionView and you want to scroll it automatically and You can also scroll UICollectionView automatically in a vertical position. First, you have to create Timer through which you can scroll UICollectionView according to your need.You can also set time period after which theUICollectionView cell scrolls

Do your stuff in scrollAutomatically function

bannerCollection :- your collection view

banner.Count:- a number of cells containing a collection view

. . .

Comment (1)

Add Your Comment

  • GV
    Straight to the point. Easy auto-scroll for collectionView 😀

    From iOS Engr in the PH. Thank you!

  • css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close