Check Mobile App
Read now

Scroll UICollectionView automatically in Swift 3

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

. . .

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!

  • css.php

    Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

    Deniel Kerr

    Owner and Founder. Opencart

    Talk to Sales
    Start a Project

      Message Sent!

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

      Back to Home