2011-08-07 17 views
-1

我正在開發一款使用相機的應用。 我一直在尋找BTLFullScreenCameraController用於此目的,但我不確定這是否是最好的選擇?在iphone應用中整合相機應用

我將需要後置和前置攝像頭的翻轉功能,以及閃光燈能力。 我喜歡iphone4上的相機選項的結構,並希望在我的應用程序中做類似的事情。

有誰知道我該怎麼做?

的問候,托馬斯

回答

0

如果你喜歡iPhone的默認攝像機,爲什麼不直接使用默認視圖?

UIImagePickerController *camera = [[UIImagePickerController alloc] init]; 
camera.sourceType = UIImagePickerControllerSourceTypeCamera; 
[self presentModalViewController:camera animated:YES]; 
[camera release];