presentModalViewController does not want to work when called from a protocol method
- by johnbdh
I have a subview that when double tapped a protocol method on the subview's parent view controller is called like this...
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *theTouch = [touches anyObject];
if (theTouch.tapCount == 1) {
} else if (theTouch.tapCount == 2) {
if ([self.delegate…