检测相机的光圈何时在 iPhone 上打开 [英] Detecting when camera's iris is open on iPhone

查看:13
本文介绍了检测相机的光圈何时在 iPhone 上打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于自定义相机叠加层,我需要找出虹膜何时打开,因为我的叠加层将始终在虹膜关闭时显示(然后以动画方式打开).

For a cutom camera overlay I need to find out, when the iris is opened, because my overlay will allways shown while the iris is close (and then animating to open).

有什么想法吗?

推荐答案

PLCameraViewIrisAnimationDidEndNotification 似乎在iOS5 中不再收到通知.

It seems that PLCameraViewIrisAnimationDidEndNotification no longer gets notified in iOS5.

当虹膜完全打开时,我不知道什么是合适的解决方案,必须有另一个选择,而不是使用 3 秒计时器.

I can't figure out what is a suitable solution when the iris has finished opening, there must another option rather than using a 3 second timer.

在这里查看:https://devforums.apple.com/message/561008#561008

这篇关于检测相机的光圈何时在 iPhone 上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆