300x250 collectionview paging1 UICollectionView 페이징 컬렉션뷰를 이용해서 컨텐츠를 보여줄 때 컬렉션뷰를 스크롤 할 때 하나씩(원하는 만큼) 넘어가도록 만들고 싶을 때 , scrollViewWillEndDragging 함수를 이용하여 처리 할 수 있다. @interface ViewController () { NSInteger currentItemIndex; } @end - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset { //좌우 목록 콜랙션 뷰일 때만 if (scrollView == self.컬렉션뷰) { UICollectionViewFlowL.. 2022. 9. 30. 이전 1 다음 300x250