Skip to content

Titanium module to restart an iOs app.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

rborn/tiapprestart

Repository files navigation

tiapprestart Module

Description

The module simulates an app restart, reinitialising the whole app. Useful for example when a change of language is needed from inside the app without rebuilding the whole UI.

Accessing the tiapprestart Module

To access this module from JavaScript, you would do the following:

var tiapprestart = require("info.rborn.tiapprestart");

The tiapprestart variable is a reference to the Module object.

Usage

tiapprestart.restartApp()

Author

Daniel Tamas - http://dan-tamas.me.

I needed this in the AsturPlaya app.

The code is taken from the Titanium SDK and made a module to avoid hacking the SDK with each update.

License

Appcelerator Titanium is Copyright (c) 2009-2010 by Appcelerator, Inc. and licensed under the Apache Public License (version 2).

About

Titanium module to restart an iOs app.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published