---
title: UIScrollType
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uiscrolltype
---

# UIScrollType

Constants that define the type of the scroll.

## Declaration

```swift
enum UIScrollType
```

## Topics

### Constants

- [UIScrollType.discrete](uikit/uiscrolltype/discrete.md)
- [UIScrollType.continuous](uikit/uiscrolltype/continuous.md)

### Initializers

- [init(rawValue:)](uikit/uiscrolltype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Tracking scroll events

- [allowedScrollTypesMask](uikit/uipangesturerecognizer/allowedscrolltypesmask.md)
- [UIScrollTypeMask](uikit/uiscrolltypemask.md)
