UIImagepickercontroller:是否可以更改图像在相机胶卷的排序顺序? [英] UIImagepickercontroller: is it possible to change the sort order of the images in camera roll?

查看:388
本文介绍了UIImagepickercontroller:是否可以更改图像在相机胶卷的排序顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,如果用户不必滚动到他们的相机胶卷的最底部,以获取他们最近的照片,我想要最近的顶部,工作的应用程序将是一个很少的痛苦这有什么意义吗?不知道为什么苹果这样设计,或者如果我只是没有意识到的东西。

Basically the app im working on would be a lot less of a pain if users didn't have to scroll to the very bottom of their camera roll to get their most recent photos, I want the most recent at the top, wouldn't this make sense anyway? Not sure why apple designed it this way, or if im just not realizing something.

谢谢

/ p>

nick

推荐答案

如果你不介意添加一个额外的步骤从相册列表中选择相机胶卷,您可以尝试更改您的sourceType SavedPhotoAlbums到PhotoLibrary:

If you don't mind adding an extra step of selecting the camera roll from an album list you can try changing your sourceType from SavedPhotoAlbums to PhotoLibrary:

imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;

选择所需相册后,下一张照片选择视图将在底部显示最近的图像。

After selecting the desired album, the next photo selection view will show the most recent images at the bottom.

这篇关于UIImagepickercontroller:是否可以更改图像在相机胶卷的排序顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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