<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFPlugInIsLoadOnDemand(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFPlugInIsLoadOnDemand"
  },
  "title" : "CFPlugInIsLoadOnDemand(_:)"
}
-->

# CFPlugInIsLoadOnDemand(_:)

Determines whether or not a plug-in is loaded on demand.

```
func CFPlugInIsLoadOnDemand(_ plugIn: CFPlugIn!) -> Bool
```

## Parameters

`plugIn`

The plug-in to query.

## Return Value

`true` if the plug-in is loaded only when a client requests an instance of a supported type, otherwise  `false`.

## Discussion

Plug-ins that do static registration are load on demand by default. Plug-ins that do dynamic registration are not load on demand by default.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)