Re: Bundle is not using icon or CFBundleIdentifier
Re: Bundle is not using icon or CFBundleIdentifier
- Subject: Re: Bundle is not using icon or CFBundleIdentifier
- From: "Timothy Reaves" <email@hidden>
- Date: Tue, 6 Oct 2009 00:18:45 -0400 (EDT)
- Importance: Normal
> On 04.10.2009, at 06:30, Timothy Reaves wrote:
>> I have a bundle defined as a document type for an app. When I build
>> one of these bundles, and double-click it, it opens in my app. All
>> well and good. Except the following.
>
> Wait, the bundle is defined as the app's document type? Then of
> course the app's Info.plist provides the icon.
>
>> 1) I have an icns file in my bundle, and have the CFBundleIconFile
>> key in the info.plist in the bundle set to the name of the icon.
>> The icns file is in the correct location in the bundle. But the
>> bundle does not display the icon. It justuses the generic OS icon.
>
> You need to specify the icon in the CFBundleDocumentTypes of your
> application. Only certain bundles get scanned for an Info.plist.
> Documents can contain whatever they want, so the OS gets all
> information for them from the app that owns them.
>
I did not know this. Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden