|
@@ -430,16 +430,20 @@
|
|
|
if (distance > radius) {
|
|
if (distance > radius) {
|
|
|
((UICollectionView *)self.superview).scrollEnabled = YES;
|
|
((UICollectionView *)self.superview).scrollEnabled = YES;
|
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = YES;
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = YES;
|
|
|
|
|
+ NSLog(@"View Touch Scroll YES");
|
|
|
|
|
+ return nil;
|
|
|
} else {
|
|
} else {
|
|
|
((UICollectionView *)self.superview).scrollEnabled = NO;
|
|
((UICollectionView *)self.superview).scrollEnabled = NO;
|
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = NO;
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = NO;
|
|
|
|
|
+ NSLog(@"View Touch Scroll NO");
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
((UICollectionView *)self.superview).scrollEnabled = YES;
|
|
((UICollectionView *)self.superview).scrollEnabled = YES;
|
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = YES;
|
|
((UITableView *)self.superview.superview.superview.superview).scrollEnabled = YES;
|
|
|
|
|
+// NSLog(@"Nil Touch Scroll YES");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- NSLog(@"Touch Scroll %@",@(((UICollectionView *)self.superview).scrollEnabled));
|
|
|
|
|
|
|
+// NSLog(@"Touch Scroll %@",@(((UICollectionView *)self.superview).scrollEnabled));
|
|
|
|
|
|
|
|
return view;
|
|
return view;
|
|
|
}
|
|
}
|