Returns an array containing all of the bundles currently open in the application.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
A CFArray object containing CFBundle objects for each open bundle in the application. Ownership follows the The Get Rule.
This function is potentially expensive and not thread-safe. It’s best used for debugging or other diagnostics purposes rather than as part of the main execution path of production code.