我有崩潰的消息:相機對焦IOS
*終止應用程序由於未捕獲的異常「NSInvalidArgumentException」,理由是:「設置focusPointOfInterest不受此設備支持。使用isFocusPointOfInterestSupported」
代碼之後:
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[device setFocusPointOfInterest:CGPointMake(100, 100)];
}
有沒有什麼辦法,使焦點像相機膠捲?
我不認爲你真的瞭解重點的概念。你必須拍攝照片前將焦點設置,你不能這樣做後 – s1m0n 2013-03-12 16:22:45
你在哪裏看到捕獲照片代碼在我的問題? – LightNight 2013-03-12 16:31:18
等一下,我是否正確:你想在相機膠捲中設置照片的焦點? – s1m0n 2013-03-12 16:36:25