用内置有线传输帮助页替换飞书外链。
帮助文档改为应用内 WebView 加载本地 HTML,避免依赖外部平台内容。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
//
|
||||
// WiredCameraTransferHelpDocument.swift
|
||||
// suixinkan
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// 有线相机传输帮助文档(App 内置 HTML),供传输页与历史导入页打开。
|
||||
enum WiredCameraTransferHelpDocument {
|
||||
/// 导航栏标题。
|
||||
static let pageTitle = "帮助文档"
|
||||
|
||||
/// Bundle 内资源名(不含扩展名)。
|
||||
static let resourceName = "WiredCameraTransferHelp"
|
||||
|
||||
/// 返回内置帮助页文件 URL;资源缺失时返回 `nil`。
|
||||
static func bundledURL(in bundle: Bundle = .main) -> URL? {
|
||||
bundle.url(forResource: resourceName, withExtension: "html")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user