iOS Question Share extensions

Discussion in 'iOS Questions' started by Pendrush, Mar 26, 2015.

  1. Pendrush

    Pendrush Well-Known Member Licensed User

    Do we have some options to use iOS share extensions, implemented in iOS 8?

    Share extensions give users a convenient way to share content with other entities, such as social sharing websites or upload services. For example, in an app that includes a Share button, users can choose a Share extension that represents a social sharing website and then use it to post a comment or other content.

    https://developer.apple.com/library...al/Conceptual/ExtensibilityPG/ShareSheet.html

    Share extensions get output like this on image.
    ios-share.PNG
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It is currently not supported.
     
  3. foakgul

    foakgul Member Licensed User

    Hello,

    Are the share extensions still not supported?

    To be able to share image, text (local storage or screen capture) via for example Whatsapp would be great!
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You can use this code to share an image through Whatsapp:
    Code:
    Private doc As DocumentInteraction 'process_globals

    Private Sub Page1_Click
       doc.Initialize(
    "doc"File.DirAssets, "1372055879288.jpg")
       doc.UTI = 
    "net.whatsapp.image"
       doc.OpenFile(Page1.RootPanel)
    End Sub
     
    jazzzzzzz likes this.
  5. jazzzzzzz

    jazzzzzzz Active Member Licensed User

    how can i share text to whatsapp? I think share extensions are very good addons if added to b4i

    Edit:Just found out this https://www.b4x.com/android/forum/t...ram-twitter-viber-whatsapp.51946/#post-439383
     
    Last edited: Aug 17, 2016
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice