目前我正在开发在ios 8.1上运行的cordova(3.6)应用程序。
Cameraplugin始终返回下面给出的错误消息。
THREAD WARNING: ['Camera'] took '613.226807' ms. Plugin should use a background thread.
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
如何解决此问题?
答案 0 :(得分:0)
第一行:它不是错误,它是一个警告。并且它非常无害,但修复也很容易(它在插件开发文档中)。
第二行:它似乎也是一个警告。我做了谷歌搜索,得到了这个: iOS 8 Snapshotting a view that has not been rendered results in an empty snapshot