Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DiskArbitration 框架似乎没有提供一种查找设备类型(网络驱动器、外部驱动器等)的方法。有没有其他方法可以以编程方式确定已安装设备的类型?
从 DADiskCopyDescription 获取 CFDictonary,kDADiskDescriptionVolumeKindKey 键给出了类型的合理概念