Iphone - 加载图像从相机胶卷到UIImageView没有UIImagepicker [英] Iphone - Load image from camera roll to UIImageView without UIImagepicker

查看:126
本文介绍了Iphone - 加载图像从相机胶卷到UIImageView没有UIImagepicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将最后一张照片从相机胶卷加载到UIImageView,而不使用UIImagepicker?

Is it possible to load the last photo from camera roll to UIImageView without using a UIImagepicker?

我的意思是检索文件的路径或类似的东西。

I mean retrieve the path to the file or something like that.

谢谢:D

推荐答案

通过使用新的 AVFoundation 框架。您可能想看看WWDC 2010会话视频,讨论框架和相关的源代码。

You should be able to do this by using the new AVFoundation framework. You may want to take a look at the WWDC 2010 session videos discussing the framework and the related source code.

这篇关于Iphone - 加载图像从相机胶卷到UIImageView没有UIImagepicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆