EBPhotoPages
EBPhotoPages copied to clipboard
Prevent dots from displaying at all?
I'm have a use case where we are not allowing any actions at all on photos being displayed in EBPhotoPages. We've disabled them all via the EBPhotoPagesDataSource instance, but the "..." button is still being displayed in the toolbar, even though there are no associated actions. Is there any way to prevent the dots from being shown in the first place? A button with no actions associated with it provides a poor user experience.
Yes, make sure your data source always returns NO for this method
- (BOOL)photoPagesController:(EBPhotoPagesController *)photoPagesController shouldAllowMiscActionsForPhotoAtIndex:(NSInteger)index;
If it still appears this may be a bug.
I am returning NO, but I still see the button at the bottom of the screen. It doesn't do anything, but it's still there.
And you're using the latest version of PhotoPages? This feature was added later.
On Wednesday, July 9, 2014, sdnakhla [email protected] wrote:
I am returning NO, but I still see the button at the bottom of the screen. It doesn't do anything, but it's still there.
— Reply to this email directly or view it on GitHub https://github.com/EddyBorja/EBPhotoPages/issues/8#issuecomment-48508270 .
I'm using 0.9.1 via CocoaPods. Is there a more recent version I should upgrade to?
On Wednesday, July 9, 2014 1:41 PM, Eddy Borja [email protected] wrote:
And you're using the latest version of PhotoPages? This feature was added later.
On Wednesday, July 9, 2014, sdnakhla [email protected] wrote:
I am returning NO, but I still see the button at the bottom of the screen. It doesn't do anything, but it's still there.
— Reply to this email directly or view it on GitHub https://github.com/EddyBorja/EBPhotoPages/issues/8#issuecomment-48508270 .
— Reply to this email directly or view it on GitHub.
Yea there have been 10 commits since 0.9.1, the podspec has to be updated. I wish there was an auto-updating script for podspecs.
Will you be updating the pod spec any time soon? Or will I have to build it manually to get the latest commits?
I'm buried in work right now so I don't have time, but maybe I'll get to it in a few days.
On Mon, Aug 4, 2014 at 11:38 AM, sdnakhla [email protected] wrote:
Will you be updating the pod spec any time soon? Or will I have to build it manually to get the latest commits?
— Reply to this email directly or view it on GitHub https://github.com/EddyBorja/EBPhotoPages/issues/8#issuecomment-51076661 .