2014-11-06 2 views

답변

4

예, 예컨대 : 사용자가 응용 프로그램을 제거하면 속성을 닦아됩니다

if(!Titanium.App.Properties.hasProperty('firstTime')) {   
     // set the property for next time 
     Ti.App.Properties.setBool('firstTime' , false); 
     // do something 
} 

.

+1

은 (~ Titanium.App.Properties.hasProperty ('firstTime'))' – turtle

+1

이 더 좋은 방법이 있어야한다는 것을 알고 있었고 – phil

관련 문제