iOS Question Share extensions

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
 

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!
 

jazzzzzzz

Active Member
Licensed User
You can use this code to share an image through Whatsapp:
B4X:
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
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:
Top