It doesn't seem that DiskArbitration framework provides a way to find out the device type (network drive, external drives, etc). Is there any other way to programmatically figure out the type of a mounted device?

有帮助吗?

解决方案

Get a CFDictonary from DADiskCopyDescription, kDADiskDescriptionVolumeKindKey key gives a reasonable idea of the type

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top