I am trying to use a text field to type in some numbers and then have the Parse server look for images tagged with whatever number was typed in the field, but I am getting this big red error (in the subject header) when trying to build the app for testing. Here's my code:
-(IBAction)Submit:(id)sender {
PFFile *people = TicketNumberBox.text[@"ticketNumber"];
[people getDataInBackgroundWithBlock:^(NSData *imageData, NSError *error) {
if (!error) {
UIImageView TicketImage = [UIImage imageWithData:imageData];
}
}];
}
Here's an image to help you further: