मैं अपने आवेदन में pinterest एकीकृत करना चाहता हूं। मैं अपने ऐप में pinterest के बटन को जोड़ना चाहता हूं जिसके माध्यम से मैं pinterest पर छवि अपलोड कर सकता हूं, मैं their Developers site का संदर्भ देता हूं लेकिन यह मेरी मदद नहीं करता है।आईओएस एप्लिकेशन में Pinterest को एकीकृत करने के लिए
मैं एसडीके शामिल करता हूं और उनके कोड की कोशिश करता हूं लेकिन यह मेरे लिए काम नहीं करता है।
#import <Pinterest/Pinterest.h>
UIButton* pinItButton = [Pinterest pinItButton];
[pinItButton addTarget:self
action:@selector(pinIt:)
forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:pinItButton];
- (void)pinIt:(id)sender
{
[_pinterest createPinWithImageURL:@"http://placekitten.com/500/400"
sourceURL:@"http://placekitten.com"
description:@"Pinning from Pin It Demo"];
}
कृपया किसी भी मदद की सराहना की जाएगी।
अग्रिम धन्यवाद।
ओह महान प्रयास धन्यवाद डाउनलोड मेरी समस्या का समाधान .. धन्यवाद ... –
खुश मदद करने के लिए :) –
@pratikbhiyani: धन्यवाद :) – Pratik