mirror of
https://github.com/status-im/react-native.git
synced 2025-02-21 05:38:10 +00:00
Summary: For the current project I am working on I needed to add a boolean option (`shadowHidden`) to remove the 1px hairline shadow from the NavigationIOS component: `<NavigatorIOS shadowHidden={true} initialRoute={...} />` By default, or with `shadowHidden={false}` it looks like this:  Setting the shadow hidden with `shadowHidden={true}` looks like this:  The code it uses to do the actual hiding is... a bit of a hack (*I* think), but it's the only way currently to do it, and is the way they do it in the iPhone calendar app: iterating through the subviews and removing the shadow image. This removes the shadow *and* keeps the translucent blurry effect with a ScrollView (see this [SO discussion](http://stackoverflow.com/questions/18160173/how-to-remove-uinavigationbar-inner Closes https://github.com/facebook/react-native/pull/1615 Github Author: Mr Speaker <mrspeaker@gmail.com>