简体   繁体   中英

How to put the camera preview into a UIImageView?

我想将相机实时取景(后置相机)放在Swift中的iOSViewController中,但我不知道该怎么做。

Please, search for answers first and if you do not found then come and ask. Here I am giving some which I found it here only. you can get more.

How to Add Live Camera Preview to UIView

Take photos with live video preview using AVFoundation

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