How iOS 16–26 stores edited and unsent messages under the hood
In iOS 16, Apple introduced two changes to iMessage: Edit (allowing a sender to modify a message up to 5 times within 15 minutes of sending) and Undo Send (allowing a sender to retract a message within 2 minutes of sending).
In disputes — whether family court, employment matters, or contract disagreements — people frequently edit a hostile or incriminating message minutes after sending it, or unsend a message right after the other person replies to it.
If you only take a standard phone screenshot, the screenshot shows only the final edited bubble (unless you manually tap "Edited" on every single bubble before screenshotting), and unsent messages disappear completely.
Inside an iPhone backup’s SQLite database (HomeDomain — Library/SMS/sms.db), however, Apple records these events in three specific columns on the message table:
Column in sms.db |
Data Type | What iOS Writes Into It |
|---|---|---|
date_edited |
INTEGER |
0 if never edited. When edited, stores the Apple-epoch nanosecond timestamp of the most recent edit. |
date_retracted |
INTEGER |
0 if never unsent. When unsent (“Undo Send”), stores the Apple-epoch nanosecond timestamp when the message was retracted. |
message_summary_info |
BLOB (bplist00) |
A binary property list containing per-part dictionaries: otr (original part metadata), ec (array of chronological edit-history snapshots per part), and rp (array of retracted part indexes). |
Edited iMessages: Why every prior version is preserved in your backup
When someone edits an iMessage on iOS 16 through iOS 26, Apple does not overwrite the original text in sms.db. Instead, inside the message_summary_info binary plist, iOS maintains an ec (edit collection) dictionary keyed by the zero-based message part index ("0", "1", etc.).
Each entry in that part’s array contains:
d(Timestamp): The exact second since2001-01-01 00:00:00 UTCwhen that specific version existed.t(Typedstream Payload): The fullNSAttributedStringbinary blob containing the exact text and formatting of that version.
The array is stored in strict chronological order: Entry 0 is the original text as first sent, followed by Edit 1, Edit 2, and so on up to the final version.
How EvidencePal renders edited messages in your PDF
Whenever date_edited != 0, EvidencePal decodes every entry in the ec array and prints both the final message and its complete edit history directly beneath it in your PDF:
Dana Ruiz
+1 (555) 201-4478·12:05 PM EDT· Edited
That damage under the sink was there before you moved in.
Earlier version (12:04 PM EDT): “I told the plumber to wait until next month.”
Even better, you do not have to hunt through thousands of pages to find edited messages. In the EvidencePal workspace, the Edited Smart Filter chip shows the total count of edited messages in your selection (14 edited) even during the free preview — and lets you filter to them or mark all of them as Key Moments in one click.
Unsent iMessages (“Undo Send”): What is kept vs. what is erased
When a sender taps Undo Send within two minutes of sending an iMessage, iOS behaves differently than it does for an edit:
- The text bytes are cleared on iOS 16+ devices: When your iPhone processes the retraction event, it removes the text from
message.textandmessage.attributedBodyand adds the part index to therp(retracted parts) array insidemessage_summary_info. - The message row and timestamps remain in
sms.db: Apple does not delete the row fromsms.db. The database retains:- Who sent the message (
handle_id), - The exact time the message was originally sent (
message.date), and - The exact time the sender retracted it (
message.date_retracted).
- Who sent the message (
Why printing unsent tombstones matters for your timeline
Many basic backup extractors see text = NULL on an unsent row and silently skip the message.
Skipping an unsent message breaks your timeline: if the other person sent a threatening message at 10:14 PM, you replied “Why would you say that to me?” at 10:15 PM, and they unsent their 10:14 PM message at 10:15:30 PM, a tool that drops unsent rows makes it look like you were talking to yourself!
EvidencePal never drops an unsent row. It renders an explicit Unsent Message marker at 10:14 PM showing the sender’s name, phone number/Apple ID, the original send time, and the exact retraction timestamp (Message unsent at 10:15 PM EDT), and surfaces all unsent rows under the Unsent Smart Filter chip.
Summary comparison: Edited vs. Unsent vs. Deleted messages
| Action Taken by Sender | Does the Other Person’s iPhone Keep the Original Text? | What EvidencePal Prints in Your PDF Timeline |
|---|---|---|
| Edited an iMessage (within 15 mins) | Yes — stored in message_summary_info (ec array) |
Final message plus every earlier version and its timestamp |
| Unsent an iMessage (within 2 mins) | No (unless backed up before retraction or on iOS ≤15) | Explicit chronological tombstone with sender, send time & unsend time |
| Deleted a message on their phone | Yes — deleting on their phone never deletes it from your phone | The complete message (deleting locally only affects their own device) |
| You deleted a message on your phone | Kept in iOS Recently Deleted for 30–40 days, or in an older PC backup | Full message if present in an earlier backup or the backup’s Recently Deleted bin |