hello!
how can detect in code if usb storage device connected computer? need able move files off of device , move files on device. looked @ iokit, app documentation said used writing device drivers, not want do. helpful if point me documentation task achieve. done in objective-c.
thanks!
a usb storage device should appear removable disk. hook mechanisms handling disk mount events, , working removable disks.
start nsworkspace class, , @ notifications related disk mounts: nsworkspacedidmountnotification etc.
see diskarbitration framework, hdiutil command-line tool, , fsmegainfo sample code.
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment