Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Message posting in GooglePlus IOS sdk

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 641
    Comment on it

    If you integrating Google plus in your IOS app and want to post some message you can use share dialog. To post message first create an object of GPPShareBuilder then you can set the text or url in this object like below example.

    id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog];
    [shareBuilder setPrefillText:@"write your text here"];
    [shareBuilder setURLToShare:[NSURL URLWithString:@"your url"]];
    BOOL result = [shareBuilder open];
    

    "open" method open the share dialog and returns a boolean value YES if no error NO if any error occurs.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: