I'm trying to develop a screen like Status Update of facebook, when the user takes a picture, I want create a thumbnail and add to a component (I think UICollectionView). What is the best way to do this? I can't find anything on internet. Is the CollectionView the best component to handle this? I'm already take a picture and thumbnail, but how to add to this component dynamically?
Asked
Active
Viewed 70 times
1 Answers
0
The camera button should open an image picker to invite the user to take a picture. The picker will invoke a delegate method (didFinishPickingMediaWithInfo:) that tells you it finished. The picked image is in the info dictionary (see the info dictionary keys at the bottom of the delegate reference). The VC can then extract the image from the result and scale it.
-
Ok, but how to add to a component to show to user? Like a Collection – Lücks Dec 21 '13 at 20:49