I create many subviews inside a UIScrollView. Let me call each subview a Cell. Each cell has a UILabel in it.
Then I implement touchEnd method on the Cell class, hoping that my app will respond to my touch whenever I tap on any of the cells. However I am not able to get response from all Cells. I can only get responses from the Cells that are above the bottom of my phone (iPhone 5 is 568 something) in the ScrollView whereas the contentsize of my ScrollView is 2300 * 1000, which means those cells below y = 568 don't respond to my touches. How can I fix this? Here is my touchEnd method in Cell class
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
if (![self.unit.text isEqualToString:@"?"]) {
[self.soundManager playSoundForUnit:self.unit];
}
}