gpt4 book ai didi

ios - Adobe AIR 无法在 iOS 上加载 PDF

转载 作者:行者123 更新时间:2023-11-29 11:41:10 28 4
gpt4 key购买 nike

出于某种原因,我的应用现在正在返回

"Error #2044: Unhandled ErrorEvent:. text=The operation couldn’t be completed. Operation not permitted"

加载 PDF 时

var webView:StageWebView = new StageWebView(true);
var url:String = File.applicationStorageDirectory.resolvePath("assets/" + filename).nativePath;
webView.viewPort = new Rectangle( 0, y, App.core.stage.stageWidth, viewHeight - y );
webView.loadURL( url);

最佳答案

不是解决方案,只是解决方法:使用 Air 版本 25。Since version 26 Adobe uses WKWebView instead of UIWebView至少在它们的实现中,这意味着无法加载本地文件。幸运的是,使用 AIR 25 编译的应用程序可以在 iOS 11 上运行。您可以下载旧版本的 Air here .

关于ios - Adobe AIR 无法在 iOS 上加载 PDF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46492075/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com