Frage

I'm attempting to integrate ObjectiveFlickr into my project - everything seems to run fine, however as soon as I execute the following:

[request callAPIMethodWithGET:@"flickr.photos.getRecent" arguments:[NSDictionary dictionaryWithObjectsAndKeys:@"1", @"per_page", nil]]

I get an exc bad access error. I've been trying to figure this out for a while and any help appreciated.

War es hilfreich?

Lösung

Made the mistake of declaring the variables locally - set the request and context variables as properties (i.e. instance vars) and it gets rid of the exc bad access error.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top