Closed zhouzizi closed 9 years ago
var imagePicker = JFImagePickerController(rootViewController: self) imagePicker.delegate = self self.presentViewController(imagePicker, animated: true, completion: nil) func imagePickerDidFinished(picker: JFImagePickerController!) { picker.dismissViewControllerAnimated(true, completion: nil) } func imagePickerDidCancel(picker: JFImagePickerController!) { picker.dismissViewControllerAnimated(true, completion: nil) }
选完照片点击完成 imagePicker没有dismiss
imagePicker.delegate = self change to imagePicker.pickerDelegate = self;
选完照片点击完成 imagePicker没有dismiss