             }
             
             navigationItem.setLeftBarButtonItem(closeBarButtonItem, animated: true)
-            navigationItem.setRightBarButtonItem(shareBarButtonItem, animated: true)
             
             currentAnnotationView = nil
         }

    
    // MARK: - Private
    
    // TODO - turns sharing off - this seems like a Pinpoint app only need - also it pulls in a ton of other types.

    @objc private func shareImage(button: UIBarButtonItem) {
//        var activityItems: [AnyObject] = [ ImageActivityItemProvider(placeholderItem: view.pinpoint_screenshot) ]
//        
//        if let asset = currentViewModel?.asset {
//            activityItems.append(asset)
//        }
//        
//        let promotionTextProvider = AppPromotionTextItemProvider(placeholderItem: "")
//        activityItems.append(promotionTextProvider)
//        
//        let itunesURLProvider = iTunesURLItemProvider(withiTunesID: String(App.iTunesIdentifier))
//        activityItems.append(itunesURLProvider)
//        
//        let deleteActivity = DeleteOriginalAssetActivity()
//        let facebookMessenger = FacebookMessengerActivity()
//        let openInAppActivity = TTOpenInAppActivity(view: view, andBarButtonItem: button)
//        
//        let controller = UIActivityViewController(activityItems: activityItems, applicationActivities: [openInAppActivity, deleteActivity, facebookMessenger])
//        controller.completionWithItemsHandler = finishedSharing
//        
//        openInAppActivity.superViewController = controller
//        
//        controller.popoverPresentationController?.barButtonItem = button
//        controller.excludedActivityTypes = [ UIActivityTypeAssignToContact ]
//        presentViewController(controller, animated: true, completion: nil)
//    }
//    
//    private func finishedSharing(activityType: String?, completed: Bool, items: [AnyObject]?, error: NSError?) {
//        let finished = completed && error == nil
//        
//        if finished {
//            if activityType == DeleteOriginalAssetActivity.ActivityType {
//                // Adds a delay for the screenshots view controller to receive the change notification.
//                let delayTime = dispatch_time(DISPATCH_TIME_NOW,
//                    Int64(0.1 * Double(NSEC_PER_SEC)))
//                dispatch_after(delayTime, dispatch_get_main_queue()) {
//                    self.dismissViewControllerAnimated(true, completion: nil)
//                }
//            }
//            else {
//                hasACopyOfCurrentComposition = true
//                hasSavedOrSharedAnyComposion = true
//            }
//        }
    }
    
    private func setupConstraints() {
        let views = [
            "imageView": imageView,

        
        navigationItem.leftBarButtonItem = closeBarButtonItem
        
        navigationItem.titleView = segmentedControl
        
        touchDownGestureRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(EditImageViewController.handleTouchDownGestureRecognizer(_:)))
