For up to date documentation and features, visit http://docs.sencha.com/ext-js/4-0

Sencha Documentation

Provide useful information about the current operating system environment. Access the global instance stored in Ext.os. Example:

if (Ext.os.is.Windows) {
     // Windows specific code here
}

if (Ext.os.is.iOS) {
     // iPad, iPod, iPhone, etc.
}

console.log("Version " + Ext.os.version);

For a full list of supported values, refer to: Ext.env.OS.is