-
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
Picker View Appears but all buttons and images are not able to be selected #5
Comments
Ok so I've fixed a little of it, if I open the Picker with ... [imagePicker showImagePickerInController:self.view.window.rootViewController animated:YES]; instead of .. [imagePicker showImagePickerInController:self animated:YES]; I can select an image from the top carousel, I still cannot select "Photo Library" or "Take Photo" from the menu. "Cancel" works, and when I press the other two buttons I see the colour change to reflect being pressed however nothing happens. |
I dug a little further and can now see this when trying to select the Library or Take Photo, still no idea how to fix this at the moment ... 2015-04-25 20:59:38.476 testApp[2505:72175] Library Selected |
I've created a test app from scratch with the same view hierarchy as my main app. https://www.dropbox.com/s/1gyxlimlca9qoxq/testApp.zip?dl=0 Hopefully you can help me figure out whats wrong, happy to upload it to anywhere else if it helps. |
Hi, just read all your emails, I'll have a proper look at the code when I get home but could you just explain the navigation stack to me? Eg. Navigation controller -> push VC -> modal presented -> image picker shown Jake Sieradzki
|
One main Root UIViewController with an embedded TableView (no navigation controller) Modal Segue from a Cell on that Table to a 2nd UIViewController which has a UIImage View on it. This is where I call the picker from |
Just a quick guess from my phone and your emails, iOS is a bit fiddly when it comes to calling a modal segue from a modal segue (the image picker is the 2nd modal segue). Try calling the image picker from your initial view controller just temporarily for a test and see if your problems are fixed then.
|
Jake, VC —> Modal VC —> Modal Picker View Plasma |
Any news on this? Did you have chance to take a look? Cheers |
I'm having the same issue. All buttons unresponsive. I made a quick fix by adding the backgroundView and imagePickerView to the view instead of the window. Not sure if this'll cause other issues, but seems to work for now. Change:
To:
Cheers. |
Unfortunately if I do that the menu doesn't show at all! :( |
I take that back, changing "window" to "view" DID work, after I changed the way I present it back to just .. [imagePicker showImagePickerInController:self animated:YES]; instead of the root view thing that I changed while trying to get it going...... [imagePicker showImagePickerInController:self.view.window.rootViewController animated:YES]; |
Great, that solve my problem too. |
Hello, I have implemented this in an App I am writing, and I can get the image picker to pop up at the bottom when I want it to. However I am unable to select any buttons or interact with it at all, its as if its disabled. please can you suggest how I might get around this?
If I find a fix in the mean time I will report back.
Kind Regards
Plasma
The text was updated successfully, but these errors were encountered: