从xamarin表单上的图库中选择多个图像 [英] Multiple Image Selecting from gallery on xamarin forms

查看:151
本文介绍了从xamarin表单上的图库中选择多个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,我需要从xamarin表单上的库中选择多个图像,其中有一些选项,例如 MediaPlugin ,但此插件不允许选择多个图像. ELCImagePicker提供了另一个选项,但是现在更新的xamarin表单不再支持ELCImagePicker(在NuGet软件包中找不到).现在,没有其他选择可以从带有xamarin表单的库中获取多个图像.你知道怎么做吗?我坚持这一点.

I have a project that I need to select multiple images from gallery on xamarin forms, there is some options like MediaPlugin but this plugin is not allow to select multiple images. there was another option with ELCImagePicker , but now ELCImagePicker is no longer supported on updated xamarin forms (Can not find at NuGet packages). Now there is no any other option to get multiple images from gallery with xamarin forms. Do you know how to do it ? I'm stuck with this.

推荐答案

我找到了一个用object-c编写的名为GMImagePicker的库.与Xamarin.iOS兼容,它允许选择多个图像,请注意,您需要进行一些修改才能与iCloud一起使用.它可以与PHAsset一起使用.资产图像流,文件网址和其他详细信息可以通过PHAssetImageManager

there I found a library called GMImagePicker ported from written in objective-c. compatible with Xamarin.iOS ,It allows multiple Image selection , be aware that you should do some modifications to work with iCloud. It works with PHAsset. Asset Image stream , file Url and other details can be managed by PHAssetImageManager

用于Xamarin的GMImagePicker

这篇关于从xamarin表单上的图库中选择多个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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