mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 00:20:31 +00:00
Summary: (Fixes #1890, #2395, #2604.) Usage: ``` ActionSheetIOS.showShareActionSheetWithOptions({ anchor: React.findNodeHandle(this.refs.share), message: "React Native", url: "https://github.com/facebook/react-native" }, (e)=>{ console.log('shared'); }, (e)=>{console.log('dismissed'); }); ``` Screenshot on iPad with iOS 8: <img width="324" alt="screen shot 2015-09-09 at 8 50 26 am" src="https://cloud.githubusercontent.com/assets/543981/9752590/df5cd324-56cf-11e5-892b-92a6c98f3d39.png"> If the `anchor` is not specified, it will centre the popup on screen without arrows:  Closes https://github.com/facebook/react-native/pull/2610 Reviewed By: @nicklockwood Differential Revision: D2439533 Pulled By: @javache