Files
react-native/Libraries
Ullrich Schäfer ac39795948 Fixing ActionSheetIOS position after rotation on tablet (#22738)
Summary:
There's been a bug on iOS and iPad that the position of an action sheet using UIActionController isn't updated if the position of its anchor view changes due to rotating the device. A common scenario would be, presenting an action sheet from a right bar button item. Rotating the device will most likely change the bar button's X coordinate. The action sheets arrow would still point to the old position due to how it has been implemented so far.

I used also reduced some code duplication between `-showActionSheetWithOptions` and `-showShareActionSheetWithOptions:` while at it.

Changelog:
----------

[iOS] [Fixed] - Action Sheet position after rotation on tablet
Pull Request resolved: https://github.com/facebook/react-native/pull/22738

Differential Revision: D13582810

Pulled By: PeteTheHeat

fbshipit-source-id: a93065284b02efc41ae7378465521330a828a126
2019-01-04 13:09:00 -08:00
..
2018-12-11 20:01:00 -08:00
2019-01-03 06:53:53 -08:00
2018-12-04 19:32:36 -08:00
2019-01-01 17:13:15 -08:00
2018-12-11 20:01:00 -08:00
2018-10-31 01:37:26 -07:00
2018-12-11 20:01:00 -08:00
2018-10-31 01:37:26 -07:00
2019-01-03 06:53:53 -08:00
2019-01-03 03:43:26 -08:00
2018-09-27 14:18:31 -07:00
2018-12-14 13:57:50 -08:00
2018-11-26 06:28:24 -08:00