Game are about Offline when drag notifications bar

Hey Dev.. i wanna ask something about the game. When you play games like Mobile Legend or PUBG Mobile in Iphone, Why we are offline when we drag notification bar and reply a chat from whatsapp or other? We still in the game but other people can see us offline or leaving the game.. Can Developer fix this? Thats important for Mobile Gamer :).. Thanks..