---
title: NSUpdateDynamicServices()
framework: appkit
role: symbol
role_heading: Function
path: appkit/nsupdatedynamicservices()
---

# NSUpdateDynamicServices()

Causes the services information for the system to be updated.

## Declaration

```swift
func NSUpdateDynamicServices()
```

## Discussion

Discussion Used by a service-providing application to reregister the services it is willing to provide. To do this, you create a bundle with the extension “.service” and place it in the application’s path or ~/Library/Services. The content of the bundle is identical to a normal service bundle. You then call this function. It is only necessary to call this function if your program adds dynamic services to the system.

## See Also

### Registering Services

- [NSRegisterServicesProvider(_:_:)](appkit/nsregisterservicesprovider(_:_:).md)
- [NSUnregisterServicesProvider(_:)](appkit/nsunregisterservicesprovider(_:).md)
- [NSServiceProviderName](appkit/nsserviceprovidername.md)
