---
title: "SCPreferencesUnscheduleFromRunLoop(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scpreferencesunschedulefromrunloop(_:_:_:)"
---

# SCPreferencesUnscheduleFromRunLoop(_:_:_:)

Unschedules commit and apply notifications for the specified preferences session from the specified run loop and mode.

## Declaration

```swift
func SCPreferencesUnscheduleFromRunLoop(_ prefs: SCPreferences, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> Bool
```

## Parameters

- `prefs`: The preferences session.
- `runLoop`: The run loop from which the notification should be unscheduled. Do not pass NULL.
- `runLoopMode`: The run loop mode associated with the scheduled notification. Do not pass NULL.

## Return Value

Return Value TRUE if the notifications are successfully unscheduled; otherwise, FALSE.

## See Also

### Managing Notifications and Callbacks

- [SCPreferencesSetCallback(_:_:_:)](systemconfiguration/scpreferencessetcallback(_:_:_:).md)
- [SCPreferencesScheduleWithRunLoop(_:_:_:)](systemconfiguration/scpreferencesschedulewithrunloop(_:_:_:).md)
- [SCPreferencesSetDispatchQueue(_:_:)](systemconfiguration/scpreferencessetdispatchqueue(_:_:).md)
