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 Retrieving and Viewing Data from Parse.com Viewing Videos Using MPMoviePlayerController

when i click send in video i get error

thread 1 :exc_bad_access(code=1,adress=0x14802bec8)

3 Answers

Send an email to help@teamtreehouse.com with a link to the video and the error message.

Jan Sklenár
Jan Sklenár
3,983 Points

same issue,

  • (IBAction)send:(id)sender { if (self.image == nil && [self.videoFilePath length] == 0) { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Try Again!" message:@"Please capture something :)" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil]; [alertView show]; [self presentViewController:self.imagePicker animated:NO completion:nil];

    }else {

    [self uploadMessage];
    
    [self.tabBarController setSelectedIndex:0];
    

    }

When i tap Send button it stops on first line of this method maybe bad condition??