Sencha Touch中的tpl和更新方法(tpl and update method in Sencha Touch)
在我的应用程序中,我使用的是tpl,但它不起作用:任何人都可以告诉我该怎么做以及我错在哪里?
内部配置:
{ id: 'content', tpl: "<div class='attorney-details'>hi:{details}</div>" },
我的Update方法是:
update: function(newRecord) { if (newRecord) { currentView=this.getRecord().data; this.down('#content').setData(newRecord.data); } }
输出时甚至不打印
"Hi"
。 此外,如果在更新方法中添加了警报,则不会执行该警报。 谢谢。In my app I am using tpl but its not working: can any one tell me what to do and where I am wrong?
Inside config :
{ id: 'content', tpl: "<div class='attorney-details'>hi:{details}</div>" },
and my Update method is :
update: function(newRecord) { if (newRecord) { currentView=this.getRecord().data; this.down('#content').setData(newRecord.data); } }
At output not even
"Hi"
is printed. Also, if an alert is added in the update method it is not executed. Thanks.
原文:https://stackoverflow.com/questions/18270242
最满意答案
您可以使用第三方框架(如Flurry)获取有关应用统计信息的更多详细信息。 您将无法检测用户是否卸载了该应用,但您可以在特定时间间隔内查看有多少唯一身份用户正在使用该应用。 您还可以查看用户已安装的操作系统版本。
You can get more details about app statistics by using 3rd party frameworks such as Flurry. You won't be able to detect if a user uninstalls the app, but you can see how many unique users are using the app in a specific interval. You can also see which OS version your users have installed.
相关问答
更多-
从“财务报告的苹果用户指南”(可在iTunes Connect页面底部找到): 期限结束后,我们不存储或重新生成数据(14个滚动日和13个滚动周); 如果您打算在将来使用该数据,则需要定期下载并存储此数据。 From the Apple User Guide for the Financial Reports (available at bottom of iTunes Connect page): We do not store or regenerate the data after the perio ...
-
在iTunes连接上传应用程序(Upload app on iTunes connect)[2022-02-05]
我想我明白你的问题。 您必须验证而不是提交。 要将您的应用程序上传到iTunes Connect,在管理器中,您必须“提交”您的存档。 这会将其上传到iTunes连接。 I think I understand you're problem. You must be validating instead of submitting. In order to upload your app to iTunes Connect, in organizer, you must "Submit" your arch ... -
您可以使用第三方框架(如Flurry)获取有关应用统计信息的更多详细信息。 您将无法检测用户是否卸载了该应用,但您可以在特定时间间隔内查看有多少唯一身份用户正在使用该应用。 您还可以查看用户已安装的操作系统版本。 You can get more details about app statistics by using 3rd party frameworks such as Flurry. You won't be able to detect if a user uninstalls the app, ...
-
煽动TestFlight / iTunes Connect进入发布新测试版(Provoking TestFlight/iTunes Connect into releasing new beta version)[2023-05-29]
我不确定这是否是TestFlight中的一个错误,但是关闭然后再打开“TestFlight Beta Testing”开关。 只要你这样做,你所有的内部测试人员应该得到新的构建的通知。 另一种选择是简单地进入新的Build Details并保存它。 I'm not sure if this is a bug in TestFlight but toggle off and then on again the "TestFlight Beta Testing" switch. As soon as you d ... -
不是,不是。 Apple确实......崩溃报告。 我认为他们正在尝试提供帮助并总结报告或过滤掉经常不常出现的报告,但您不会在iTunes Connect中看到确切的数字,也不会看到所有崩溃。 我解决这个问题的方式 - 虽然我希望改进应用程序而不仅仅是收集指标 - 是在我的应用程序中安装一个崩溃报告器,它将报告发送回我自己控制的服务器。 (我在这里写了更多关于它的内容。) Not really, no. Apple does... something with the crash reports. I th ...
-
iTunes Connect App Analytics上的应用单元是实际的“购买”/下载。 总线一些用户可能永远不会打开您的应用程序 这就是为什么App Units可能高于Facebook的数字。 我假设至少对于iOS,Facebook只能在第一次启动应用程序时发送信息,而不是实际安装。 App Units on iTunes Connect App Analytics are the actual "purchases"/downloads. Bus some users might never eve ...
-
Apple说 尚未批准的应用无法删除; 相反,拒绝该应用程序。 应用程序必须至少有一个允许的版本才能删除。 一种解决方案是重命名该应用程序,然后通过创建一个新的名称来使用该名称。 Apple接受名称,然后应用程序将被审核。 参考: 如何删除正在等待上传的应用程序? Apple says Apps that have not been approved yet can’t be deleted; instead, reject the app. Apps must have at least one appr ...
-
iTunes中缺少应用程序连接(App missing from itunes connect)[2022-05-05]
iTunes Connect不是您创建配置文件的位置。 供应配置文件在iOS开发人员中心的Apple开发人员门户中创建。 然后在iTunes连接中创建用于上传到App Store的实际应用程序。 首次创建应用程序时,有许多必填字段。 甚至应用程序的图标和屏幕截图等内容也是必需的。 如果您还没有完成这些操作,那么无论您按保存多少次,都不会创建应用程序。 我想可能信息中缺少某些东西,所以它不会让你保存应用程序。 但是,如果应用程序已创建,那么您将收到一封电子邮件,告知您该应用程序已创建。 你收到电子邮件了吗? ... -
您应该在iTunesConnect上传App图标。 以1024x1024提供 https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/FirstSteps.html#//apple_ref/doc/uid/TP40011225-CH19-SW9 You should upload App Icon at iTunesConnect. Pro ...
-
iTunes Connect提供了一个日期过滤器,用于显示特定时间段内安装的应用程序的时间。 您可以在这种情况下使用该过滤器。 iTunes Connect provide a date filter for how many time apps were installed during a particular time period. You can use that filter for this situation.