简体   繁体   中英

Dropbox iOS Chooser in the Simulator

I am working on using the iOS Dropbox Chooser. I was able to integrate as expected via their documentation

However, in the simulator, the chooser will ask you to have the dropbox app installed to authenticate. Is there any way that I can deal with this so that I can actually get a file from my dropbox while in the simulator?

I don't think you can, no. In recent OS versions Apple has done a great job of making more functionality available in the simulator (you used to be able to use hardly any external functionality at all, but many things work there now). However the Dropbox app is completely separate from Apple. It doesn't come pre-installed on the Simulator, and short of having the Dropbox App's source code and building that to your simulator first, there's no way to do this.

It's unfortunate, but really it's best to test things on-device anyway, so you're probably better off going that route. Good luck! :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM