diff --git a/ios/ReactViewPagerManager.m b/ios/ReactViewPagerManager.m index 38656e19..2aed41de 100644 --- a/ios/ReactViewPagerManager.m +++ b/ios/ReactViewPagerManager.m @@ -63,7 +63,7 @@ - (void) changeScrollEnabled [self goToPage:reactTag index:index animated:false]; } -RCT_EXPORT_METHOD(setScrollEnabled +RCT_EXPORT_METHOD(setScrollEnabledImperatively : (nonnull NSNumber *)reactTag enabled : (nonnull NSNumber *)enabled) { BOOL isEnabled = [enabled boolValue];