titanium开发教程0102检测平台 有两种方式检测你的程序将要运行在哪个平台 var PLATFORM = Ti.Platform.osname; var myVar = (Ti.Platform.osname === "android") ? 60 : 35 ;