iphone如何去拍照后通过Xcode的图像库 [英] iphone how to go to the image gallery after taking photo through Xcode
问题描述
您好,我正在实施以下代码通过我的应用程序拍摄照片
Hi all I am implementing the following code to take a photo through my application
[[[UIApplication sharedApplication] keyWindow] setRootViewController:picker];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[self presentModalViewController:picker animated:NO];
任何人都可以电话我如何在用户拍摄照片后,到应用程序。
Can anyone tel me How I can go to the photo gallery after the user takes the photo and not return to the application.
推荐答案
我想你可能想尝试这个
如何在点击相机时打开相机uibutton in iPhone?
或我真的没有得到这个问题
or i really didn't get the question
编辑:
你可以使用相同的代码与 UIImagePickerControllerSourcePhotoLibrary
从相机拍摄后。我的意思是调用这个函数与 UIImagePickerControllerSourcePhotoLibrary
然后它会带你到照片库,然后再回到你的应用程序。
Well you can use the same code with UIImagePickerControllerSourcePhotoLibrary
after taking the pic from camera. I mean call this Function with UIImagePickerControllerSourcePhotoLibrary
then it will take you to photo Library and then back again to your application.
这篇关于iphone如何去拍照后通过Xcode的图像库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!