:
[contentView addSubview:backGroundImageView]
[contentView addSubview:connectedStories]
[contentView addSubview:label]
[contentView addSubview:label1]
, :
[contentView addSubview:backGroundImageView]
[contentView addSubview:label]
[contentView addSubview:label1]
[contentView addSubview:connectedStories]
, , addSubview:, , .
UIView
the reason the interaction is not detected is because you do not pass touchEvents through other sub-objects as they are captured by shortcut1 and stopped there.
By default, the last subviewer captures all touch events and does not transmit them.
source
share