Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

UIImagePickerController's delegate methods not being called #268

Closed
miquelalvarado opened this issue Sep 16, 2014 · 2 comments
Closed

UIImagePickerController's delegate methods not being called #268

miquelalvarado opened this issue Sep 16, 2014 · 2 comments

Comments

@miquelalvarado
Copy link

I'm experiencing a bug executing my project under iOS 8. Seems that using UIImagePickerController and implementing its delegate methods no longer calls them due to a conflict with blocksKit's UIImagePickerController+BlocksKit delegate methods. It works when I remove imagePickerController: didFinishPickingMediaWithInfo: and imagePickerControllerDidCancel: from UIImagePickerController category. I guess there's a problem in the dynamic delegate register and method link process.

JFYI: I'm using the latest 2.2.5 version of the library.

@miquelalvarado
Copy link
Author

Actually isn't working under iOS 7, nor iOS 8

@miquelalvarado miquelalvarado changed the title UIImagePickerController's delegate methods not being called in iOS 8 UIImagePickerController's delegate methods not being called Sep 16, 2014
@miquelalvarado
Copy link
Author

This problem is solved by implementing both methods in the real delegate object even the optional ones (such as imagePickerControllerDidCancel).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant