I reverse engineered iMessage so it sends you a notification whenever someone starts typing...
Seif Abdelaziz
Visit on X@sabziz1.2K followers
230,752 views
I reverse engineered iMessage so it sends you a notification whenever someone starts typing...
Here's how it works.
1. The app injects its own code into the iMessage app using DYLD_INSERT_LIBRARIES to hook into its internal methods
2. Dynamically loads Apple's private IMCore.framework at runtime. This is iMessage's internal framework that handles all message/typing logic, but it's not publicly available so it can't be linked normally
3. Replaces private methods like IMMessageItem.isIncomingTypingMessage to intercept typing events
4. When intercepted, the injected code posts system notifications
5. My Swift app listens for those notifications and forwards them to iOS
The one caveat is you need to disable some security features on your Mac 🙃. Trying to find a better approach for this though!
More features coming. Sign up for access:
Comments
Comments from the original post on X (Twitter)
No comments yet
