touchesbegan does no get called ios 13

I'm moving all my code from ios 12 to ios 13. the code for touchesbegan and all other touch events does not work when I try to debug my app. This is extremely frustrating. What are the changes that ios 13 brought that now this doesn't work??



This is the AppDelegate.h content:



@interface AppDelegate : UIResponder <UIApplicationDelegate>


{

std::unique_ptr<omi::View> m_pView;

std::unique_ptr<MetalRenderer> mMetalRenderePtr;

}

@property (strong, nonatomic) UIWindow *window;


@end



This is the touchesbegan funciton inside the .mm file:



-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event

{

...some code

}



I haven't changed a single thing in years...how is it now not working?

Yes, but the first one still hasn't figure out how to do it and the second post is about getting status bar notifications....I'm trying to figure out why my touch related events are not being received. So no, it didn't help. I've tried them all.

Hey, guys! Have you had any luck with this issue? I have been looking for a solution but can't find one... It really bothers me

I hit this same problem as a result of updating from Xcode 11 to Xcode 12.

Gestures in my view controller are still recognized, but the functions touchesBegan, touchesMoved, touchesEnded are not.

User Interaction is thus clearly enabled for the view controller, so I'm not sure what has changed to cause this bug.
touchesbegan does no get called ios 13
 
 
Q