top of page

ActivityView v.1.26

 

This plugin provides iOS native API ActivityViewController. Now you can easy posting text and image to Facebook, Twitter, Email, AirPrint,Messages or save in phone library.

 

New v.1.26:

- iOS 64 bit support

- Optimize code

 

Required link framework in Xcode: Social.framework

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How to use (C# Script):

Внести через PayPal

01

02

03

ActivityView.Share (string messageText, string subjectTitle, UIActivityType[] excludedActivities)

 

Variable messageText -  string sending from ActivityViewController. Variable subjectTitle – string contain subject title of email. Variable (optional) UIActivityType[] – array contains excluded services that you feel are not suitable for the content you are providing. Method using for send only text message. Method using for send only text message. Method using for send only text message.

 

 

 

ActivityView.Share (string messageText, string subjectTitle, byte[] imageBuffer, uint bufferLength, UIActivityType[] excludedActivities)

 

Variable messageText -  string sending from ActivityViewController. Variable subjectTitle – string contain subject title of email. Variable imageBuffer - image contents of the file into a byte array. Variable bufferLength - the length property of the image byte array. Variable (optional) UIActivityType[] – array contains excluded services that you feel are not suitable for the content you are providing. Method using for send image with text.

04

ActivityView.ShareToService (string messageText, ActivityView.socialService socialService, string errorMessage)

 

Variable messageText - string sending to social service. Variable socialService - enum type include names social services. Variable errorMessage - descriptive text on UIAlertView. Method using for send text message to Twitter, Facebook or Weibo.

05

06

07

ActivityView.ShareToService (string messageText, ActivityView.socialService socialService, byte[] imageBuffer, uint bufferLength, string errorMessage)

 

Variable messageText - string sending to social service. Variable socialService - enum type include names social services. Variable imageBuffer - image contents of the file into a byte array. Variable bufferLength - the length property of the image byte array. Variable errorMessage - descriptive text on UIAlertView. Method using for send text message and images to Twitter, Facebook or Weibo.

ActivityView.initProgressBar(float posX, float posY)

Variable posX -  activity indicator X coordinate. Variable posY -  activity indicator Y coordinate. Method set initial position of iOS native ActivityViewIndicator on device screen.

ActivityView.showProgressBar()

Method show iOS activity indicator

ActivityView.hideProgressBar()

Method hide iOS activity indicator.

bottom of page