Developer Documentations doesn’t provides fully describe of registerForDraggedTypes method. For example, i want that my app allow access only “*.abc” files. How can i do this?
Developer Documentations doesn’t provides fully describe of registerForDraggedTypes method. For example, i want that
Share
If you’d like to have files dragged onto your view, your should register for the
NSFilenamesPboardTypetype. If you want accept only certain filenames, you can do that in your implementation ofperformDragOperation:. Something like: