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

Self-Destructive Message app - Attempt to present <UIImagePickerController: 0xadd1ac0> on <UITabBarController: 0xadb0510> while a presentation is in progress!

Hi,

When going through self-destructive app series I noticed that when the image picker is canceled it throws this warning;

Attempt to present <UIImagePickerController: 0xadd1ac0> on <UITabBarController: 0xadb0510> while a presentation is in progress!

I'm guessing this is due to the fact that the UIImagePickerController is being initialised in the View Controllers viewWillAppear to allow for camera to be created every time. Can this warning be ignored? Or will it lead to future problems etc.

Thanks in advance for the advice.

3 Answers

yes the warning can be ignored. It does not affect the functionality of the app at all.

While it can be ignored, can it be fixed?

Thanks for the feedback.