Reputation: 791
Is it possible, to change the title of my application at runtime, which is displayed in the dock?
Upvotes: 4
Views: 1904
Reputation: 90531
No, it's not possible. The Dock uses the display name of the file system item for the process. For a bundled app, that's the app bundle.
That display name can be localized, but, for any given system language, that's a static property of the app bundle.
Upvotes: 1
Reputation: 25271
You might try to change the badge label of the dock tile:
[[NSApp dockTile] setBadgeLabel:@"My custom text"]
Upvotes: 4