hi now i am trying to integrate which application into our application
I have already done the integration Tweet
: - in this application I create two buttons, one button (selectImagePressed) selects the local image form file, and then the second (tweetButtonPressed), this is the image message in tweeter
- (IBAction)tweetButtonPressed:(id)sender { if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]) { SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter]; [tweetSheet setInitialText:@"Look at this nice picture!"]; [tweetSheet addImage:self.imageView.image]; [self presentViewController:tweetSheet animated:YES completion:nil]; } else { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Error" message:@"please setup Twitter" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alertView show]; } } - (IBAction)chooseImagePressed:(id)sender { self.pickerController = [[UIImagePickerController alloc] init]; self.pickerController.delegate = self; self.pickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; [self presentViewController:self.pickerController animated:YES completion:nil]; } #pragma mark - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info; { self.imageView.image = [info objectForKey:UIImagePickerControllerOriginalImage]; [self dismissViewControllerAnimated:YES completion:nil]; }
Please give me an idea of how to integrate the application into our application.
Please tell me whether this is possible or not.
thanks
source share