SCPreferencesScheduleWithRunLoop(_:_:_:)
Schedules commit and apply notifications for the specified preferences session using the specified run loop and mode.
Declaration
func SCPreferencesScheduleWithRunLoop(_ prefs: SCPreferences, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> BoolParameters
- prefs:
The preferences session.
- runLoop:
The run loop on which the notification should be scheduled. Do not pass
NULL. - runLoopMode:
The run loop mode with which to schedule the notification. Do not pass
NULL.
Return Value
TRUE if the notifications are successfully scheduled; otherwise, FALSE.