Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How I can re-start current app by code?

$
0
0

I used Xamarin 4.2.2 build 2 for create one MAC app.

In AppDelegate class, I want stop current app and re-start it again by code.

I try with this code:

Process.Start(new ProcessStartInfo ( "open", "/Volumes/AAAA/BBB/bin/Debug/mydemoapp.app") { UseShellExecute = false});

OR

Process.Start("/Volumes/AAAA/BBB/bin/Debug/mydemoapp.app");

But is not successfull.

Can you help me resove this problems?

Thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles