Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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??