Hi Guys
I am working on an app which should detect events that happen when removable storage is unmounted or forcefully unplugged from the USB. how should I get these events?
I have seen NSWorkspace
for the first possibility of smoothly unmounting the device but this class has methods like – unmountAndEjectDeviceAtPath:
to unmount a device. please can u guys write or point me to some sample code to understand how these events are trapped ?
Thanks