开发者

Freeze or pause iPhone camera image

开发者 https://www.devze.com 2022-12-17 20:36 出处:网络
On iPhone\'s built-in Camera application (OS 3.1), touching the shutter b开发者_如何学Pythonutton shows an iris animation, then displays the image that was taken for a second or so before animating it

On iPhone's built-in Camera application (OS 3.1), touching the shutter b开发者_如何学Pythonutton shows an iris animation, then displays the image that was taken for a second or so before animating it away.

Is anyone aware of a simple way to get this "brief pause" activity? Or do I have to resort to manually adding the image as part of my custom cameraOverlayView?

Bonus points for the iris animation too (without interfering with said custom overlay).


Ultimately, I ended up using UIGetScreenImage() (which is now officially blessed for use by Apple) and pushing that image to a previously hidden UIImageView.

Meh.


did you try releasing the ImagePickerController after your code be done?

0

精彩评论

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

关注公众号