You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the UICollectionView example, simply tap and hold in the gutter between cells (or add return NO; to the first line of shouldShowMenuAtPoint).
See the partial g+ button in the screenshot.
I have a hack-ish workaround:
if (self.dataSource != nil && [self.dataSource respondsToSelector:@selector(shouldShowMenuAtPoint:)] && ![self.dataSource shouldShowMenuAtPoint:pointInView]){
[self removeFromSuperview]; //rip self back out of view hierarchy, seems to correct.
return;
}
Would you like a pull on this, or do you have a better idea of what is going wrong and how to fix it?
Good stuff otherwise!
--DT
The text was updated successfully, but these errors were encountered:
In the UICollectionView example, simply tap and hold in the gutter between cells (or add return NO; to the first line of shouldShowMenuAtPoint).
See the partial g+ button in the screenshot.
I have a hack-ish workaround:
if (self.dataSource != nil && [self.dataSource respondsToSelector:@selector(shouldShowMenuAtPoint:)] && ![self.dataSource shouldShowMenuAtPoint:pointInView]){
[self removeFromSuperview]; //rip self back out of view hierarchy, seems to correct.
return;
}
Would you like a pull on this, or do you have a better idea of what is going wrong and how to fix it?
Good stuff otherwise!
--DT
The text was updated successfully, but these errors were encountered: