質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top