             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
         
     }
 }

        
        sheet.addAction(UIAlertAction(title: "从相机中选择", style: .default, handler: { (_) in
            let imagePickerVc = UIImagePickerController()
            imagePickerVc.delegate = TTImagePicker.picker
            imagePickerVc.allowsEditing = allowsEdited
            viewC.present(imagePickerVc, animated: true, completion: nil)
        }))
        sheet.addAction(UIAlertAction(title: "取消", style:.cancel, handler: { (_) in
            TTImagePicker.picker = nil
        }))
        viewC.present(sheet, animated: true, completion: nil)
    }

        if UIImagePickerController.isSourceTypeAvailable(.camera) {
            sheet.addAction(UIAlertAction(title: "拍照", style: .default, handler: { (_) in
                let imagePickerVc = UIImagePickerController()
                imagePickerVc.delegate = TCImagePicker.picker
                imagePickerVc.sourceType = .camera
                imagePickerVc.allowsEditing = allowsEdited
                viewC.present(imagePickerVc, animated: true, completion: nil)
