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

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

问题描述

对于一个cutom相机覆盖,我需要找到,当虹膜打开,因为我的覆盖将会显示,而光圈关闭(然后动画打开)。

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.

当iris完成打开时,我不知道什么是合适的解决方案,必须有另一个选项,而不是使用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天全站免登陆