react-native-macos/Libraries/ActionSheetIOS
Param Aggarwal f35fbc2a14 Fixes consistent crash on iPad with iOS 8 while sharing.
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:

![centered](https://cloud.githubusercontent.com/assets/543981/9752612/10c87c6a-56d0-11e5-8c59-fcbf64a36f9c.png)

Closes https://github.com/facebook/react-native/pull/2610

Reviewed By: @nicklockwood

Differential Revision: D2439533

Pulled By: @javache
2015-09-15 11:35:26 -07:00
..
RCTActionSheet.xcodeproj Text highlighting on iOS 2015-07-24 08:41:58 -08:00
ActionSheetIOS.js flowify some Libraries 2015-03-24 13:27:00 -08:00
RCTActionSheetManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTActionSheetManager.m Fixes consistent crash on iPad with iOS 8 while sharing. 2015-09-15 11:35:26 -07:00