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)

Can't access Camera tab view

Even though I am logged in, I cannot access the camera view when I tap on the camera tab.

I'm following the code exactly so I don't know what is going on. I'm aware that in Part 2 we are going to make the viewDidLoad and viewWillAppear changes which caused a bug in the last stage but I was under the impression that I should wait until I had gone through Part 1 entirely (as advised in intro to Part 2) so I haven't made those changes yet.

Can anyone advise me as to whether I need to make those changes now to make the camera tab accessible when I use the simulator? Cause until I get that sorted I can't actually go into the Camera view to try and load a picture in.

Thanks.

2 Answers

Andres Oliva
Andres Oliva
7,810 Points

You don't need to make those changes in order to view the Camera, at least once. You need to change your code for it to appear again after you used it. You'll see that in the next video.

Yeh, thanks Andres, I discovered that since posting. The note under Teacher's Notes is misleading. The video with that correction is the next video, and not the video at the link provided. To be honest I'm just doing my best to work through these videos despite the constant bugs. It was the same with the blog reader project.