开发者

UIImagePickerController on iPhone 4 device

开发者 https://www.devze.com 2023-01-13 09:23 出处:网络
This is no typical programming question. I am currently developing an app using the latest SDK. This app will use the UIImagePickerController for taking pictures with the built-in camera.

This is no typical programming question. I am currently developing an app using the latest SDK. This app will use the UIImagePickerController for taking pictures with the built-in camera. I know the new iPhone 4 has 2 cameras built in. But the simulator doesn't support the camera in any way, so there's is now way to test the camera controlle开发者_运维知识库r on a new iPhone. I do have a iPhone 3G to test my app with.

But what I want to know now, if someone can provide me a screenshot of the UIImagePickerController in camera mode running on his iPhone 4? But I really need an image from the UIImagePickerController not from the common camera application on the iPhone, because those two image pickers aren't the same! I can see this on my iPhone 3G: the built-in camera application and the UIImagePickerController are having a totally different UI.

Why I am asking for that? Because I want to know if there is a built-in switch in UIImagePickerController to switch between the front and rear camera. I know there is such a switch if you want to take a picture using the common iPhone 4 camera application, but I don't know if this switch also exists in UIImagePickerController from the SDK.

Thanks for your help!

C YA


Here you go. I managed to catch it with the zoom control and focus square.

UIImagePickerController on iPhone 4 device

0

精彩评论

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

关注公众号