for (UIView *subview in barButtonItem.customView.subviews) {
UIView *customView = barButtonItem.customView;
CGRect convertedRect = [self convertRect:subview.frame fromView:customView];
!
if (CGRectContainsPoint(convertedRect, point)) {
CGPoint convertedPoint = [self convertPoint:point toView:subview];
return [subview hitTest:convertedPoint withEvent:event];
}
}
ʢcustomView.subviews͔Βhit͢ΔͷΛ୳͢ʣ