Blair Vanderhoof 7 anos atrás
pai
commit
33e861478c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      ios/RCCViewController.m

+ 1
- 1
ios/RCCViewController.m Ver arquivo

@@ -277,7 +277,7 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
277 277
 // Back to normal after user start scroll with momentum
278 278
 - (void)_traverseAndCall:(UIView*)view
279 279
 {
280
-  if([view isKindOfClass:[UIScrollView class]]) {
280
+  if([view isKindOfClass:[UIScrollView class]] && ([[(UIScrollView*)view delegate] respondsToSelector:@selector(scrollViewDidEndDecelerating:)]) ) {
281 281
     [[(UIScrollView*)view delegate] scrollViewDidEndDecelerating:(id)view];
282 282
   }
283 283