Using jsPDF with JavaScriptCore in Swift

已关闭 已发布的 4 年前 货到付款
已关闭 货到付款

I need help for using the jsPDF library in my Swift app using JavaScriptCore.

When I try to load the jsPDF library I am getting the following error: "ReferenceError: Can't find variable: window". This is no surprise as don't have a window variable here. But surprisingly the creation of my pdf document works without problems.

Is there any way to load the library without this error?

Is it safe to use the library even though there is this error? Or will it break in certain circumstances?

JavaScript Swift iPhone 移动应用开发

项目ID: #24550271

关于项目

2个方案 远程项目 活跃的4 年前

有2名威客正在参与此工作的竞标,均价€28/小时

iotait

Hello, We read your project description & Learn what you need. We are professionals Mobile Application developer who are able to develop any kind of Mobile Application. Please share your details to understand what we 更多

€25 EUR 在7天内
(102条评论)
6.4