---
title: repeats
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsbackgroundactivityscheduler/repeats
---

# repeats

A Boolean value indicating whether the activity should be rescheduled after it completes.

## Declaration

```swift
var repeats: Bool { get set }
```

## Discussion

Discussion The default value for this property is false. See Configure Scheduler Properties.

## See Also

### Background Scheduler Attributes

- [identifier](foundation/nsbackgroundactivityscheduler/identifier.md)
- [interval](foundation/nsbackgroundactivityscheduler/interval.md)
- [qualityOfService](foundation/nsbackgroundactivityscheduler/qualityofservice.md)
- [shouldDefer](foundation/nsbackgroundactivityscheduler/shoulddefer.md)
- [tolerance](foundation/nsbackgroundactivityscheduler/tolerance.md)
