0

m developing a program that makes use of UIImagePicker custom class made by me, and the thing is I want to be able to use the manual-focus feature on the 3GS (the part where the user points where the camera should focus) and at the same time to use custom overlay view. I已将 showCameraControls 设置为 NO,以便可以通过编程方式拍摄图像并使用我自己的自定义叠加层,但是当相机控件被隐藏时,手动对焦功能也是如此。我什至将 UIApplication 子类化以捕获触摸事件并让 ImagePicker 继续接收事件以执行手动对焦功能。它适用于showsCameraControls = YES,但这不是我想要的。

  • 有没有办法调用对 3GS 的关注?
  • 有没有办法隐藏相机控件而不是处理触摸事件的视图(viewController)?
  • 有没有办法让我使用默认的相机控件(带有叠加层)但仍然以编程方式拍摄连续照片?

我将非常感谢提供的任何帮助。

4

1 回答 1

1

不幸的是,没有对自动对焦的程序控制。当相机控件被隐藏时,无法调用焦点。(来自 Apple 开发者论坛的来源,OP(或其他人)在其中发布了相同的问题)。

于 2009-10-27T13:29:38.593 回答