IOS-INFO-007 P0 | MaterialReaderView 生命周期事件恢复 【审计: 部分存在,需改造】 #72
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
审查
onAppear/onDisappear 存在但 Rust 调用注释。需恢复。
文件加载成功→start+opened。退出→close+export+本地队列+ack Rust。加载失败不产生 opened。
IOS-INFO-006 P0 | MaterialReaderView 生命周期接入to IOS-INFO-007 P0 | MaterialReaderView 生命周期事件恢复 【审计: 部分存在,需改造】完成报告
修复内容
MaterialReaderView.swift— 恢复生命周期事件链路:1. onAppear → openReadingSession()
2. onDisappear → closeReadingSession()
3. reportScrollPosition → V2 primary
sessionManager.state == .active→ sessionManager.updatePosition()4. buildAnchor → V2 + V1 fallback
sessionManager.lastPosition ?? collector.lastPosition