PPAssetsActionController icon indicating copy to clipboard operation
PPAssetsActionController copied to clipboard

Introduce new callback in PPAssetsActionControllerDelegate for when PPOption was selected

Open pavelpantus opened this issue 7 years ago • 2 comments

Introduce new callback in PPAssetsActionControllerDelegate:

func assetsPicker(_ picker: PPAssetsActionController, didPickOption option: PPOption);

pavelpantus avatar Apr 10 '17 13:04 pavelpantus

Please help me more detail with this function. I want to change default text, and maximum number of picture = 1 example: default text = Select Picture and when user select one picture than change the text to "OK"

dinhcuong1989 avatar Dec 20 '17 10:12 dinhcuong1989

Hey @dinhcuong1989 thanks for getting in touch,

From what I understand you want two things:

  • Limit max number of selected assets;
  • Change text on default cell ('OK' instead of 'Send X Item(s)') depending on whether asset was selected or not.

I've tracked these requests as a separate tickets: #32 and #33. This ticket is just a callback for when any of PPOptions was selected.

I can't give you an ETA on this requests, since I don't have much free time at the moment.

If you want to contribute, you're very welcome. Just open a PR and we can discuss, feel free to reach out in respective tickets if you have any questions or need any help. 👍

pavelpantus avatar Dec 20 '17 15:12 pavelpantus