search

Home  >  Q&A  >  body text

Android - ionic hybrid development, the default photo picker, IOS cannot select a single photo.

Use the cordova-plugin-image-picker plug-in and call the maximumImagesCount: 1 method.
The compiled Android version can select only one picture when selecting the album, but the iOS version can select multiple pictures in the album.
Excuse me, how can I make iOS only select one picture when calling up the photo album?

过去多啦不再A梦过去多啦不再A梦2845 days ago704

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:33:35

    Are you using ionic1 or 2? If you use 2, you can directly use Ionic’s Camera plug-in. Both Android and IOS are single-shot options.

    reply
    0
  • Cancelreply