UICollectionViewFlowLayout.MinimumInteritemSpacing UICollectionViewFlowLayout.MinimumInteritemSpacing Property


The minimum spacing between cells in the direction of the flow (i.e., between sides if horizontal, between bottom and top if vertical).

[get: Foundation.Export("minimumInteritemSpacing")]
[set: Foundation.Export("setMinimumInteritemSpacing:")]
public virtual nfloat MinimumInteritemSpacing { get; set; }
member this.MinimumInteritemSpacing : nfloat with get, set

Property Value

The default value is 10.


Can be customized with the GetMinimumInteritemSpacingForSection(UICollectionView, UICollectionViewLayout, nint) method.

Applies to