0
當相機被調用我得到消息:快照,在一個空的快照還沒有被渲染結果的圖,
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
我知道這是由於隱私設置,但有沒有辦法來告訴用戶他們必須改變他們的隱私設置。
它不會觸發以下任一功能的..
Titanium.Media.showCamera({
success:function(e){
console.log('success');
},
cancel:function(){
console.log('cancel');
},
error:function(error){
console.log('error code:', error.code);
}
});
感謝您的幫助!