Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top