Skip to content

how to limit the user's previewing page?  #26

@hotechboy66

Description

@hotechboy66

In our purpose, we want to prompt a download alert when users previewed some pages of the file .
For instance , when previewing page 5 , we alert "Will you download the whole file? "
In that case , we have to monitor the current page while previewing .
Is there a method or delegate to achieve that? I found a class called BOXPreviewerPageTrackerManager-> userSwipedDocumentToPage:(NSNumber *)page forFile:(BOXFile *)file seems to work on this , But how can I implement this ?
Thanks .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementobjective-cRelated to prior code base, now on the objective-c-maintenance branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions