         return decisionHandler(.Allow)
     }
     
+    public func webView(webView: WKWebView!, didFinishNavigation navigation: WKNavigation!) {
+        indicator.stopAnimating()
+        indicator.removeFromSuperview()
+    }
+
     public var startURL: NSURL? {
         didSet(oldURL) {
             if nil != startURL && nil == oldURL && isViewLoaded() {

    ///
    /// parameter controller: The controller to present from
    public func authorizeFromController(controller: UIViewController) {
        if !self.conformsToAppScheme() {
            let message = "DropboxSDK: unable to link; app isn't registered for correct URL scheme (db-\(self.appKey))"
            let alertController = UIAlertController(

    
    var cancelButton: UIBarButtonItem?
    
    var indicator = UIActivityIndicatorView(activityIndicatorStyle: .Gray)
    
    public init() {
        super.init(nibName: nil, bundle: nil)
