mdjfs / expo-image-multiple-picker

Fully customizable image picker for react native
https://npmjs.com/expo-image-multiple-picker
MIT License
21 stars 7 forks source link

How to use onCancel ios #18

Open Goowwy opened 1 year ago

Goowwy commented 1 year ago

Iits possible make button back/cancel in album picker? because have no button back

JmarkMunda commented 10 months ago

I think you should create your own header component and insert it in the theme prop.

mdjfs commented 10 months ago

Hi, right now the library doesn't include the cancel action in the Header, instead, the picker looks for the back native event of the cellphone and fires onCancel event. For now, the best solution is create a custom header and handle it where the user wants cancel and hide the picker. I'm thinking about push new themes, for iOS could be a great feature, and something more advanced like chat picker (like discord for example) but i dont have anything actually. Just that