Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Conversation

@frosty
Copy link
Contributor

@frosty frosty commented Mar 10, 2017

This PR makes a few tweaks / additions that are required to support the Media Library deletion PR for wordpress-mobile/WordPress-iOS#6858.

Changes:

  • If the custom preview view controller delegate method mediaPickerController:previewViewControllerForAsset: is implemented but returns nil, we don't show a custom preview. Previously we'd show the default one, but now you can do that just by not implementing this delegate method.
  • If allowsMultipleSelection is changed after the collection view is instantiated, we now update the collection view's matching property. Previously, you could only set this once.
  • Added a method for clearing the current selection in the collection view.

@frosty frosty added this to the 0.13 milestone Mar 10, 2017
@frosty frosty requested a review from SergioEstevao March 10, 2017 15:13
@SergioEstevao
Copy link
Contributor

:shipit:

@frosty frosty merged commit 9fdc63e into develop Mar 10, 2017
@frosty frosty deleted the media-picker-additions branch March 10, 2017 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants