Overrides the displayed application name.
- iOS 2.0–11.0Deprecated
- macOS 10.4–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
The network diagnostics object for which the application name is to be set.
Name that is to be set.
Frameworks requiring that an application name be displayed to the user derive the application name from the bundle identifier of the currently running application, in that application’s localization. If you want to override the derived application name, use this function to set the name that is displayed.
This function is thread safe as long as another thread does not alter the same CFNetDiagnosticRef at the same time.