0
Appcelerator에서 iOS 앱을 개발 중이며 스 와이프 이벤트 리스너를 사용하여 창 사이를 전환하고 싶습니다. 어떻게해야합니까? 아래 코드는 작동하지 않습니다. 내가 "시작"하는 현재 윈도우에는 테이블이 있습니다.Appcelerator. 스 와이프를 사용하여 창 열기
var window = Ti.UI.currentWindow;
window.addEventListener('swipe', function() {
// Create the new window
var win = Titanium.UI.createWindow({
title: 'Contacts',
url:'contacts_simple.js'
});
// Animate the page turn
Titanium.UI.currentTab.open(win, {animated:false});
});