【发布时间】:2012-05-04 18:23:54
【问题描述】:
当用户不允许 iOS 位置时,我在哪里可以使用 getImage API 找到文件对象?
错误回调是否会有这里显示的成功文件对象?
file.getImage( function (file) { /* the success scenario */ , function (file) { /* the error scenario but still has successful file object */ );
或者错误回调会同时包含内容和文件对象吗?
file.getImage( function (file) { /* do success scenario */ , function (content, file) { /* error scenario but has successful file object */ );
什么是适合这种情况的 API 模式?
【问题讨论】:
标签: trigger.io