zu sein, wenn Sie möchten, eng App mit Google+ würde ich empfehlen, ihre SDK hier skizziert werden: https://developers.google.com/+/mobile/ios/
Das Bit-Sharing: https://developers.google.com/+/mobile/ios/#share_on_google
erstellen Sie Ihr Anteil Objekt:
GooglePlusShare *share =
[[[GooglePlusShare alloc] initWithClientID:clientID] autorelease];
share.delegate = self; // optional
appDelegate.share = share; //optional
In Ihrem b utton des IBAction:
- (IBAction) didTapShare: (id)sender {
// Add code here to retrieve the value of "share"
// This could be self.share if this is a property of your ViewController
// or ((MyAppDelegate *)[[UIApplication sharedApplication] delegate]).share
[[[[share shareDialog]
setURLToShare:[NSURL URLWithString:@"URL_TO_SHARE"]]
setPrefillText:@"YOUR TEXT HERE"] open];
// Or, without a URL or prefill text:
[[share shareDialog] open];
}
Google+ URL-Handler:
- (BOOL)application: (UIApplication *)application
openURL: (NSURL *)url
sourceApplication: (NSString *)sourceApplication
annotation: (id)annotation {
// ...
if ([self.share handleURL:url
sourceApplication:sourceApplication
annotation:annotation]) {
return YES;
}
// ...
}
Ich bin für die gleiche Funktion suchen, für Google+ und Facebook – Baldrick
Es scheint zumindest keine [dokumentiert] (https zu sein: // developers.google.com/+/plugins/share/#sharelink), um dies zu tun. –