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
kennedy otis
3,570 PointsBuilding self destructive app
When we switched the UIImagePickerController code from viewDidLoad to viewWillAppear.. I noticed warning message "Warning: Attempt to present <UIImagePickerController: 0x17ebdc80> on <UITabBarController: 0x17e258a0> while a presentation is in progress!" Is that a serious problem or one can get away with it..
2 Answers
Stone Preston
42,016 Pointsyou can ignore it. Whats probably happening is that the cameraView (where you select the friends you want to end to) hasnt finished appearing yet and you are presenting the ImagePicker at the same time. You could probably fix it by using
[self performSelector:@selector(presentImagePicker) withObject:nil afterDelay:0.1];
to delay the presentation of the imagePicker just a bit.
A safer way would be to present the imagePicker in viewDidAppear, of course then you would see the cameraView for a split second which isnt desirable.
kennedy otis
3,570 PointsHi.Thanks that was helpful. I would like to display some filters in a scrollview preferably on the same screen where the taken photo is displayed then user can have options on selecting filters then save.. Am a newbie to IOS but directing me to right path will do good in my learning process. Any sample projects or tutorial will be really appreciated :)