开发者

How to create function that works take photo shoot+ save

开发者 https://www.devze.com 2023-03-08 01:18 出处:网络
I want to create an iphone app that if you shoot using the c开发者_运维问答amera it automatically save and shoot again until you click Done.

I want to create an iphone app that if you shoot using the c开发者_运维问答amera it automatically save and shoot again until you click Done.

is that possible?


Look at the takePicture method of UIImagePickerController. From the documentation:

Use this method in conjunction with a custom overlay view to initiate the programmatic capture of a still image. This supports taking more than one picture without leaving the interface, but requires that you hide the default image picker controls.

Since you have to have the default controls hidden, you'll also want to look at cameraOverlayView, which lets you provide your own controls to use instead. That's where you can put your start and done buttons.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号