문제

I've implemented a drag-and-drop function in my application. The app let's you open .kext files.

I've used -(void)application:openFiles: as well as having set the Document Types: Document Types setup

All works well, and my app can detect when the kext is dropped. However, when a Kext is dropped, all kexts on my Mac change icon to Folder icon! I guess it has something to do with my app messing with the file associations.

Is there any way around this?

도움이 되었습니까?

해결책

Wow, the answer was simple: Tick the Document is distributed as Bundle box in the Document Types area, and the Icon doesn't change.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top