Skip to content

Conversation

@stuffmc
Copy link
Contributor

@stuffmc stuffmc commented Feb 17, 2017

The user might want to display pages in a vertical manner in the underlying pages collectionView.

Implemented in a way that casts directly the layout so the end user doesn't have to go through the collectionView.

fileprivate func showDocument(_ document: PDFDocument) {
let image = UIImage(named: "")
let controller = PDFViewController.createNew(with: document, title: "", actionButtonImage: image, actionStyle: .activitySheet)
// controller.scrollDirection = .vertical // use this to scroll from top to bottom instead of left to right
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the README instead of this comment. Thanks!

@ranunez
Copy link
Collaborator

ranunez commented Feb 23, 2017

Closing because this duplicates the functionality of #38

@ranunez ranunez closed this Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants