|
@@ -280,7 +280,10 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
280
|
280
|
- (void)_traverseAndCall:(UIView*)view
|
281
|
281
|
{
|
282
|
282
|
if([view isKindOfClass:[UIScrollView class]] && ([[(UIScrollView*)view delegate] respondsToSelector:@selector(scrollViewDidEndDecelerating:)]) ) {
|
283
|
|
- [[(UIScrollView*)view delegate] scrollViewDidEndDecelerating:(id)view];
|
|
283
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
284
|
+ [[(UIScrollView*)view delegate] scrollViewDidEndDecelerating:(id)view];
|
|
285
|
+ });
|
|
286
|
+
|
284
|
287
|
}
|
285
|
288
|
|
286
|
289
|
[view.subviews enumerateObjectsUsingBlock:^(__kindof UIView * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|