Files
suixinkan_ios_new/suixinkan/App/suixinkanApp.swift
汉秋 00c3cd0a93 接入友盟统计与 U-APM,并优化宣传页打卡点标签交互。
友盟 SDK 改为隐私同意后再初始化;宣传页标签新增滑块位移动画,超过 5 个时选中项自动滚动居中。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 09:23:15 +08:00

31 lines
745 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// suixinkanApp.swift
// suixinkan
//
// Created by hanqiu on 2026/6/18.
//
import SwiftUI
/// SwiftUI
@main
struct suixinkanApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
init() {
AppUITestLaunchState.resetIfNeeded()
}
var body: some Scene {
WindowGroup {
RootView()
.onOpenURL { url in
WeChatManager.shared.handleOpenURL(url)
}
.onContinueUserActivity(NSUserActivityTypeBrowsingWeb) { userActivity in
_ = WeChatManager.shared.handleContinueUserActivity(userActivity)
}
}
}
}