2015-08-30 18 views

cevap

39

Bu UICollectionViewFlowLayout

let layout = UICollectionViewFlowLayout() 
layout.scrollDirection = .vertical 
let collectionView = UICollectionView(frame: frame, collectionViewLayout: layout) 

ile kodunda oluşturmak veya eğer mevcut bir koleksiyon görünümünde

if let layout = collectionView.collectionViewLayout as? UICollectionViewFlowLayout { 
    layout.scrollDirection = .vertical 
} 
ile çalışıyorsanız nasıl
İlgili konular