Game ui not responding to touch

i have a game in which my ui stops responding to touch while the game is going on in the background(i can see things changing in the ui.). i just can’t click on anything. can someone guide me as to why or when this happens?
my game is too big and i can’t share it on this forum, so please just answer with this much information.
My Cocos Creator version is 2.4.3

It may be captured by other UI layer or break by error. You can do a remote debug and trace the input event.

Hi there sorry to here your having a problem. Dose it only when it goes into background.

You can add this line to your AppDelegate.cpp
this will stop your program going into power saver, lock screen and background.
see if it still responds to touch after 5 mins.

//Keep Alive