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:
parent
c41b5a02f2
commit
e57655274d
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue