简体   繁体   中英

UIImagePickerController camera isn't meant to be “available”?

This may sound dumb, but when I run my application, the UIImagePickerController works for Photo Library, but not for Camera importation. I'm guessing this is normal, since my computer is not "connected" to an iPhone camera, right?

If you're using the Simulator to try to use the UIImagePickerController Camera to take a photo. It will not work, You need to test this from an actual device.

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