Skip to content

Commit

Permalink
Demo: Instance method 'imagePickerController(_:didFinishPickingMediaW…
Browse files Browse the repository at this point in the history
…ithInfo:)' nearly matches optional requirement 'imagePickerController(_:didFinishPickingMediaWithInfo:)' of protocol 'UIImagePickerControllerDelegate'

refs artemkrachulov#41 artemkrachulov#18
  • Loading branch information
ykws committed Jan 18, 2022
1 parent 1fb9c63 commit 6f15885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AKImageCropperViewExample/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class HomeViewController: UIViewController {

extension HomeViewController: UIImagePickerControllerDelegate, UINavigationControllerDelegate {

func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
private func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {

if let pickedImage = info[UIImagePickerController.InfoKey.originalImage.rawValue] as? UIImage {

Expand Down

0 comments on commit 6f15885

Please sign in to comment.