# New Feature: Native content sharing support for iOS/Android

**URL:** <https://forum.juce.com/t/new-feature-native-content-sharing-support-for-ios-android/25679>\
**Category:** General JUCE discussion\
**Created:** [December 20, 2017, 10:19pm UTC](https://forum.juce.com/t/new-feature-native-content-sharing-support-for-ios-android/25679 "2017-12-20T22:19:43Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![amethystdeceiver](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/amethystdeceiver/32/9055_2.png) [@amethystdeceiver](https://forum.juce.com/u/amethystdeceiver)\
**Post date:** [September 20, 2020, 6:11pm UTC](https://forum.juce.com/t/new-feature-native-content-sharing-support-for-ios-android/25679/8 "2020-09-20T18:11:32Z")

</div>

I’ve done some work on this in my fork of JUCE.  
The first commit fixes a crash due to deallocated memory access. To reproduce: open the sharer, tap ‘Save to Files’, tap ‘Cancel’, close the sharer, boom.  
The second makes it workable within AUv3 by allowing to set the parent component (a-la `FileChooser`) before making a call to `shareFiles()`, `shareText()`, etc. and using it to present the `UIActivityViewController`.  
Still need to fix the sharer width and implement a way to get proper `popoverController.sourceRect` through for arrow placement - not as easy…

> <https://github.com/amethystdeceiver/JUCE/commit/9f5b8f287d58ce0e6fd8057aa6859f5ae2a56057>

> <https://github.com/amethystdeceiver/JUCE/commit/fc49c841256da9349448a9cfebd8bc91006f481c>

---

_[View the full topic](https://forum.juce.com/t/new-feature-native-content-sharing-support-for-ios-android/25679)._
