Fix 14436 - Docs: ios-native-ui-guide 'RNTMap' -> 'MKMapView' fix

Summary:
Quick fix for https://github.com/facebook/react-native/issues/14436
Closes https://github.com/facebook/react-native/pull/14982

Differential Revision: D5409794

Pulled By: javache

fbshipit-source-id: ea59a9a11b689459e68c05a92095fdcee1da717f
This commit is contained in:
Tieme van Veen 2017-07-12 14:35:26 -07:00 committed by Facebook Github Bot
parent c41b5a02f2
commit e57655274d
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Next, let's add the more complex `region` prop. We start by adding the native c
```objectivec
// RNTMapManager.m
RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, RNTMap)
RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, MKMapView)
{
[view setRegion:json ? [RCTConvert MKCoordinateRegion:json] : defaultView.region animated:YES];
}