saidaltintop
5/15/2019 - 3:24 PM

collectionview de en üste git

func collectionViewScrollToTop(numberOfSections: Int) {
        
        let indexPath = NSIndexPath(row: numberOfSections, section: (numberOfSections))
        self.cvHome.scrollToItem(at: indexPath as IndexPath, at: UICollectionView.ScrollPosition.top, animated: false)

    }