             finishAction!(icon)
         }
         picker.dismiss(animated: true, completion: nil)
-        TTImagePicker.picker = nil
+        TCImagePicker.picker = nil
     }
     public func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
         picker.dismiss(animated: true, completion: nil)
-        TTImagePicker.picker = nil
+        TCImagePicker.picker = nil
         
     }
 }

    ///  - parameter finishAction:   选择完图片回调
    open class func showImagePickerFromViewController(viewController:UIViewController,allowsEditing:Bool,iconView:UIImageView? = nil,finishAction:(_:(UIImage?)->Void)) {
        if picker == nil {
            picker = TTImagePicker()
        }
        picker?.showImagePickerFromViewController(viewC: viewController, allowsEdited: allowsEditing, iconView: iconView, callBackAction: finishAction)
    }
}
extension TTImagePicker:UIImagePickerControllerDelegate,UINavigationControllerDelegate{
   open func showImagePickerFromViewController(viewC:UIViewController,allowsEdited:Bool,iconView:UIImageView?,callBackAction:(_:(UIImage?)->Void)){
        finishAction = callBackAction
        let sheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)

        }) { (finished) in
            self.removeFromSuperview()
            self.scrollView.removeFromSuperview()
            TCImagePicker.picker = nil;
        }
    }
    private func initSubviews() {
