我一直在使用 SmartFace.io 中的示例代码进行如下工作:
pick(
myCars,
selectedIndex,
function(e) {Pages.NewPage.Label1.text = myCars[e.index]; selectedIndex = e.index; },
function() {},
function() {}
);
然而,选择器只是不想在模拟器中显示。我还尝试将此代码放在一个单独的函数中,并从 ImageButton 的 OnPress 事件中调用它,但仍然没有。
我正在 iPhone 4S 上尝试这个,所以也许这就是问题所在......
任何关于我做错了什么的提示将不胜感激。
谢谢格里