开发者

Touch and focus on 3GS with showsCameraControls = NO

Im 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. Ive set showsCameraControls to NO so that the images could be taken programmatically and to make use of my own custom overlay but when the camera controls are hidden so is the manual focus feature. I even got to the point where I subclassed UIApplication to catch the touch events and for the ImagePicker to continue to receive the events in order to execute the manual focus feature. And it worked with showsCameraControls = YES but that`s not what I want.

  • Is there a way to invoke focus on the 3GS?
  • Is there a way that camera controls are hidden but not the view (viewController) which is handling the touch events?
  • Is there a way for me to use the default camera controls (with an overlay) b开发者_运维问答ut still take consecutive pictures programmatically?

I`ll be very grateful for any help provided.


Unfortunately, there is no programmatic control over autofocus. When the camera controls are hidden, there is no way to invoke focus. (Source from the Apple developer forums, where the OP (or someone else) posted the same question).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜