user2893370
user2893370

Reputation: 711

Aceess only pdf file using Dropbox Chooser in ios

I downloaded a simple demo for Dropbox Chooser& its works fine for me. but How can I set file type for chooser same as for JS Chooser.

JavaScript is able to set file type for chooser like as follow: set options param with extensions: ['.pdf', '.doc', '.docx'],

Help me to solve this

Thanks

Upvotes: 0

Views: 243

Answers (2)

user94559
user94559

Reputation: 60143

The Chooser on iOS doesn't support file extension filtering.

Upvotes: 1

Mustafa Ibrahim
Mustafa Ibrahim

Reputation: 1120

You can use this sample which give you the capability to list only the types you want by using dropboxBrowser.allowedFileTypes = @[@"pdf"];

Good Luck

Upvotes: 0

Related Questions