-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi there #3
Comments
I might add this as a feature to the control at some point if I get the time but if you wish to do it yourself then look at the allowsEditing property of the UIImagePickerController class and edit in the JSImagePickerController source code. Have a look here:
|
I dont have the enough development knowledge to make this happen :( If you have time to add this feature, i would really appreciate your help. By the way sorry if my english is bad |
and i try to make 2 image pickers. i try this:
But how can i identify the picker in - (void)imagePickerDidSelectImage:(UIImage *)image { method ?? Like do this if picker2 used or to that if picker 1 was used |
You could always try and add a tag property to the JSImagePickerController as an int, and also include the JSImagePickerController object in the imagePickerDidSelectImage method. But you could try what I said so it would work like this:
Cheers, Jake Sieradzki
|
i get this error at the line of imagePicker.tag =1 : Property 'tag' not found on object of type 'JSImagePıckerViewController' I really appreciate your help EDIT: i managed to do it. really thank you. my only problem now is cropping the image after selection |
Yes, the tag is only inherited from the UIView class which UIImagePickerController does not inherit from, so you have to manually put it in by adding a property to JSImagePickerController.h Sent from my iPhone
|
Just made a PR. I'm not too familiar with with delegates, but I think this is better solution. |
hi, i am a beginner ios developer and i am willing to use your code in my test app. I am trying to add photos to imageviews but i also want to crop the image after selection with a circle crop just like this :http://i.stack.imgur.com/cdFdE.png
can you please help me to that. I want this screen to come after choosing the image
The text was updated successfully, but these errors were encountered: