react-native/React
Nick Lockwood 46106f756a Ported `source` prop over to iOS WebView
Summary:
public
https://github.com/facebook/react-native/pull/5494 added a new `source` property to WebView on Android that provides a better API, as well as allowing for request headers to be set.

This diff ports that functionality over to iOS, so we can have a consistent API cross-platform.

I've also extended the API to include `method` (GET or POST) and `body` when setting the WebView content with a URI, and `baseUrl` when setting static HTML.

Reviewed By: javache

Differential Revision: D2884643

fb-gh-sync-id: 83f24494bdbb4e1408aa8f3b7428fee33888ae3a
2016-02-01 18:01:35 -08:00
..
Base Ported `source` prop over to iOS WebView 2016-02-01 18:01:35 -08:00
Executors Hot Loading Sourcemaps 2016-01-27 14:55:36 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Hot Loading Indicators 2016-02-01 12:42:33 -08:00
Profiler Handle bad JSON data without crashing 2016-01-26 06:13:29 -08:00
React.xcodeproj Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
Views Ported `source` prop over to iOS WebView 2016-02-01 18:01:35 -08:00