Search code examples
swift3dropbox-apixcode8-beta2swiftydropbox

Why am I getting a blank screen?


I'm following this tutorial on Github to learn how to use SwiftyDropbox, and I've followed the steps to the point where I should be able to run the app, and I log into Dropbox. However, when I run the app on my phone, I just get a blank screen. Can someone help me figure out why?

Here's the code for my AppDelegate

enter image description here

The ViewController

enter image description here

the plist

enter image description here

and the podfile

enter image description here


Solution

  • The tutorial isn't exhaustive of every step you need to take to run the app. If you download the whole project and open TestSwifty > TestSwifty_iOS > TestSwifty_iOS.xcworkspace, you'll see in the Main.storyboard that there are buttons, which are connected to code.