Post

Replies

Boosts

Views

Activity

Programming with DockKit
Any source code samples for how to program DockKit ? I have read https://developer.apple.com/documentation/DockKit and would like to see it used in an app. For instance, how to setup notification in a SwiftUI-based app running code like this do { for await accessory in try DockAccessoryManager.shared.accessoryStateChanges { // If this is an accessory you’re interested in, save it for later use. } } catch { log(“Failed fetching state changes, \(error)“) }
3
0
549
Aug ’24
AVCam vs Apple Photo App for stabilized video recording
Why do Apple’s builtin Photo app produce videos with better image stabilization than what I can get when I enable cinematicextended as preferred stabilization using the AVCapture API? Ref: https://developer.apple.com/documentation/avfoundation/avcapturevideostabilizationmode/cinematicextended I have based my work on https://developer.apple.com/documentation/avfoundation/capture_setup/avcam_building_a_camera_app Do the Apple Photo app use another API or some Apple properitary algoritms to achieve a better result than what’s available using the AvFoundation API? Best, Thomas Hagen
0
0
455
Aug ’23
AVCam vs Apple Photo App for stabilized video recording
I have build a video recording app based on https://developer.apple.com/documentation/avfoundation/capture_setup/avcam_building_a_camera_app I have exteded the sample to use stabilization, but I am not near getting as good results as I get from using the Apple Photo App. The only thing I seem to be able to control from AVFoundation is https://developer.apple.com/documentation/avfoundation/avcaptureconnection/1620484-preferredvideostabilizationmode Do Apple use different APIs than what is available from AVFoundation? Best, Thomas Hagen
0
0
440
Aug ’23