TideSDK Ti.App restart()

i cant figure out how o use the tidesdk api. It says on there documentation to use Ti.App and the restart() function but i tried a couple ways with no luck and also tried to imitate how the ti.media.sound is scripted which i have working but i cant figure out the app restart. Thak you in advance.

I have tried multiple variations of making functions and directly using onclick.

function restart(){
    var restart = Ti.App.restart();




Heres the documenttion by the way


Source: javascript

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.