 
             self.presentViewController(composeController, animated: true, completion: nil)
         }
-    }
-
-}
-
-extension UIViewController: UIDocumentInteractionControllerDelegate {
-
-    public func documentInteractionController(controller: UIDocumentInteractionController, didEndSendingToApplication application: String?) {
-        self.sharingCompleted?(success: true, sharingService: UIViewController.instagramSharingService)
     }
 
 }


    public func canShareViaFacebook() -> Bool {
        return SLComposeViewController.isAvailableForServiceType(SLServiceTypeFacebook)
    }

    public func canShareViaInstagram() -> Bool {
        if let instagramURL = NSURL(string: "instagram://") {
            return UIApplication.sharedApplication().canOpenURL(instagramURL)
        }

        return false
    }

    public func canShareViaSinaWeibo() -> Bool {

        }
    }

    public func shareViaCopyString(string: String?) {
        UIPasteboard.generalPasteboard().string = string
    }
