How can I execute appium code on any Opened screen instead of starting (launching) the app from first screen on appium

Hi,

I have been using appium + java from very long time for iOS native app. During development of tests I have to check executing the written code if it’s working fine. Whenever I execute the code it starts from launching the app and from very first screen of the app. Is there any way I can execute my code on currently opened page instead of launching (not installing) the app again from first screen.