简体   繁体   中英

QTCaptureDevice in Mac OS X 10.10

It appears that a lot of QTCaptureDevice methods have been deprecated in 10.9. What is used instead now or how the heck do I initialize a QTCaptureDevice instance if all of the constructors are now deprecated?

I think the AVFoundation is where you want to go. Here's the apple guide on how to transition over from the QTKit. https://developer.apple.com/library/mac/technotes/tn2300/_index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM