Blair Vanderhoof 7 lat temu
rodzic
commit
33e861478c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      ios/RCCViewController.m

+ 1
- 1
ios/RCCViewController.m Wyświetl plik

@@ -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