UICollectionViewFlowLayout.MinimumInteritemSpacing UICollectionViewFlowLayout.MinimumInteritemSpacing Property

Definition

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.

Remarks

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

Applies to