Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Taking Picture / Choosing from Gallery not working properly  RSS feed

Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a button that should let me take or choose 4 pictures and display each in their respective ImageViews instantly. This means I could choose to take the first picture, choose the second, choose the third and take the fourth; etc..

My code works so that the four `URI`s are stored in an `ArrayList` and pulled from there for display. Weirdly, only the pictures I chose from gallery show up. i.e. I chose my first picture from gallery and took the other three pictures; only the first displays. I have debugged and I am successfully getting a `URI` back from "taken" pictures. What's more, these pictures are also found in my gallery.

Please take a look at my code and see where I go wrong.




  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!