Is it possible to verify the app icon in home screen after installation of app on iOS

Hello,

By problem statement is as below -
When I perform some action in the backend system, the app icon is updated with some value. My issue is that I am unable to verify this value in the app icon. I have tried driver.runAppInBackground(), but that backgrounds the app for x seconds and foregrounds.

Is it possible to background the app, perform the app icon validation and then foreground the app?