Scroll UICollectionView automatically in Swift 3

Updated 30 September 2017

Save

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

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


1 comments

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

    From iOS Engr in the PH. Thank you!

  • Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home