Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Capturing Photo and Video Using UIImagePickerController Presenting the UIImagePickerController (Camera View)

save to camera roll button not available in ios simulator

Hi guys...

referring to the following video...

http://teamtreehouse.com/library/build-a-selfdestructing-message-iphone-app-2/capturing-photo-and-video-using-uiimagepickercontroller/presenting-the-uiimagepickercontroller-camera-view

every thing works fine for me till the end... except.....that when we add the selected photo to the ios simulator screen then the when i tap on the share button , the save to camera roll button does not shows up on the ios simulator... because of which i am not able to save the image in the camera roll of the ios simulator.....

Would appreciate your help...... Thanks

10 Answers

ok finally finally finally it worked..... i did a major blunder..... after selecting the media Type..... I actually missed to define the self.imagePicker as present View controller and so the images were not showing up in the camera tab.....

thank you guys... so much for your help..... Ben sorry for the trouble.... but i really appreciate your help....

Thank you stone for your prompt replies..... and now its working in ios 7.0 simulator as well.....

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Awesome - glad you got it working! :)

Stone Preston
Stone Preston
42,016 Points

you should be able to open the safari app on the simulator, drag the image into the safari window, tap the middle button that looks like a box with an arrow coming out of it, and then select save image. it will then be available in the photo library of the simulator

Hi Stone....

thanks for such a prompt reply... I am infact doing the same but still its not happening... I mean I am doing exactly what you wrote... but still after doing this when i am re-running the app and clicking on the camera tab the images are still not showing up....

Would appreciate your further help... Thanks....

Stone Preston
Stone Preston
42,016 Points

press cmd + shift + h once your app is open in the simulator. this will bring you to the phones homes screen. click the photos app and see if the photos you saved are there.

Yes the photos are very much there .... all of them..... but still they are not opening in the Ribbit app....

Stone Preston
Stone Preston
42,016 Points

ok sounds like an issue with the way you are presenting the imagePicker then

Ok so how do I fix that???

Please help.....

Hi friends... i really need your help.... on this..... i am not able to go further without fixing this problem.....

Please help...

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Can you take a screenshot of your simulator where the "Save to Camera Roll" button is missing? Is it possible that it's just hidden on a second page? Upload your image to a site like imgur and paste a link in here, or you can include it directly using Markdown via the Cheatsheet link below.

ok sorry for the above post...... please do delete that....

so coming on the latest update.... when i am running the app on ios6.1 simulator..... i do see the save to camera roll button..... and i am following the exact process.... but still the images are not showing up in the camera imagePicker when i am re-running the app.

Please help.....

infact... the pictures which i am saving in the simulator now.... are showing up in the saved photos of simulator.... but some how they are not showing in the camera tab when i am re-running the app.....