Menu

1 / 3

Restoring a Reading Session Was More Than Saving a Page Number

DEV Community: ios·Takuma Yamada·9 days ago
#1ixoomp4
#devtoios#devto#dev#test#document
Long article (1540 words) — no AI summary yet.
Reading 0:00
15s threshold

Open a PDF, read a few pages, switch to another app, and come back.

That was an everyday part of testing MihirakiPDFViewer , the iPad PDF reader I was building. The page was still there when I returned, so resuming a reading session seemed to work.

But after the app’s process ended, launching it again brought me back to the file picker. The document and reading position were gone.

Returning to a running app and launching it after its process has ended can feel similar to a reader. For the app, they are different conditions.

In Part 3 , I described preparing test PDFs with predictable results. This time, I applied the same thinking to reading-session restoration, saved preferences, and importing external PDFs.

The results below come mainly from development logs dated September 8, 2026, using an iPad (A16) Simulator running iOS 26.5.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.