0

I have a question regarding how one would intercept an error message on a PFQueryTableViewController. Basically, I would like to override a method in the PFQueryTableViewController to allow for me to display custom error alerts if there were a problem executing the query. Does anyone know how I would perform such behavior.

Anthony Dito
  • 3,610
  • 3
  • 29
  • 56

1 Answers1

1

On iOS, here's the method to override:

- (void)objectsDidLoad:(nullable NSError *)error;

In your implementation, you can check if there was an error and responded as you'd like.

Note: you should [super objectsDidLoad:] if you override it.

Source: Parse Docs

liampronan
  • 578
  • 4
  • 6