slecault
8 years agoContributor
iOS app Restart
Is there a way to "restart" of an instrumented iOS app? I use the following command with Android: Mobile.Device.Process('com.myapp.abc').Restart;
Alex,
I do use the Android ShellExecute... but did not find an iOS equivalent yet.
The restart "closes" the app and restarts it without reinstalling the package.
When my scripts it a problem, I restart the app and move on to the next script.
My app does not behave the same after installing vs restarting. Installing is a lot longer.
Might have a good idea using TestedApp. "kill" or ."Restart" with iOS
Hi,
> Might have a good idea using TestedApp. "kill" or ."Restart" with iOS
Might be, indeed.
However, with the quick google search, it looks like this is just near to impossible in iOS (highly not recommended, at least):
https://forums.xamarin.com/discussion/16932/can-an-ios-app-restart-itself
https://developer.apple.com/library/content/qa/qa1134/_index.html