iphone - Image Sharing Using Google Plus in ios -


i want share image on google plus:

i have used google+ api

appdelegate.m

[gppsignin sharedinstance].clientid = @"myclientid"; [gppdeeplink setdelegate:self]; [gppdeeplink readdeeplinkafterinstall]; 

and on button action

viewcontroller.m

id<gppsharebuilder> sharebuilder = [[gppshare sharedinstance] sharedialog];  [sharebuilder seturltoshare:[nsurl urlwithstring:@"http://dummy.com"]]; [sharebuilder settitle:@"some title" description:@"some description" thumbnailurl:[nsurl urlwithstring:@"http://dummy.com/image"]]; [sharebuilder setcontentdeeplinkid:@"myclientid"]; [sharebuilder open]; 

but on click crashes ans error shows:

-[__nsdictionarym gtm_httpargumentsstring]: unrecognized selector sent instance 0x1e887ea0' 

it crashes on [sharebuilder open]

it because dont have set other linker flag, go build setting , other linker flags: -objc


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -