问题标签 [image-capture-core]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
objective-c - Apple PTP - withCompleteContentCatalog not firing (Rust + Obj-C)
From the imagecapturecore-rs
crate here:
https://github.com/brandonhamilton/image-capture-core-rs/issues/7
Only didOpenSessionWithError
fires when connecting a PTP (picture transfer protocol) device with a None
for the error value and an NSArray
with a count of 0
.
Do I need to be using the fancier cameraDevice.requestOpenSession()
with the callback function from here?
https://developer.apple.com/documentation/imagecapturecore/icdevice/3142916-requestopensession
Full Code: