Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose search/pages button function to developer #27

Open
hotechboy66 opened this issue Sep 19, 2017 · 0 comments
Open

expose search/pages button function to developer #27

hotechboy66 opened this issue Sep 19, 2017 · 0 comments
Labels
enhancement objective-c Related to prior code base, now on the objective-c-maintenance branch

Comments

@hotechboy66
Copy link

As for preview view in iOS , I have some custom advise :
Since the UI is too simple (and has some defects ) on the original full-screen preview , we'd like to use a preview view in an embedded page , please see the attached images , but I found that the function button for search and switch-pages can only show in the right-top bar ,preview VC automatically handle these two buttons and show no interface to developer to handle that feature . Can BOX-SDK expose an interface to use the search and swtich-pages function when previewing ?

please see the codes in swift language :

func itemsViewController(_ itemsViewController: BOXItemsViewController!, didTap file: BOXFile!, inItems items: [Any]!) {
    self.file = file
    let filePreviewController = BOXFilePreviewController(contentClient:BoxClient, file: file)!
    
    filePreviewController.delegate = self
    navigationController?.pushViewController(filePreviewController, animated: true)
}

I found that in full page , right button will show "search" and "page" buttons according to the file. For instance, a pdf/docx file will show buttons , but xml/excel/ppt will not show any buttons. And all the buttons is automatically handled by the BOXFilePreviewController .
And my question is I want to show that buttons in an embedded page ,not a full page . Is that possible?

@PJSimon PJSimon added the objective-c Related to prior code base, now on the objective-c-maintenance branch label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement objective-c Related to prior code base, now on the objective-c-maintenance branch
Projects
None yet
Development

No branches or pull requests

2 participants