Important The plugin is written in Swift, so your project needs to have Swift support enabled. If you've created the project using
flutter create -i swift [projectName]
you are all set. If not, you can enable Swift support by opening the project with XCode, then chooseFile -> New -> File -> Swift File
. XCode will ask you if you wish to create Bridging Header, click yes.git
The plugin supports Swift Version 4.2. Make sure you have this version set in your Build Settings -> SWIFT_VERSION
github
这个是我从multi_image_picker中找到的说明如何导入,测试成功,我新建了一个flutter swift的,第一种方法。swift
参考连接:https://github.com/Sh1d0w/multi_image_picker/blob/master/doc/initial-setup.md测试