Pregunta

I am needing some help. I'm using the Pinterest API to add a new pin, from an iOS app. My code is the following:

 NSURL *imageURL = [NSURL URLWithString:self.myUrl];
 NSURL *sourceURL = [NSURL URLWithString:self.myUrl];
 [self.pinterest createPinWithImageURL:imageURL sourceURL:sourceURL description:[NSString stringWithFormat:@" Try\n %@",self.comments.text]];

Now I need to detect when (and if) the pin has been created. Is it possible? I was not able to found any informations in the documentation.

¿Fue útil?

Solución

No, it's not possible. createPinWithImageURL:sourceURL:description: has no return value and there's no protocol you can implement to receive the identifier of the pin you just created.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top