Inspect the View Hierarchy of Any iOS Apps in 2019
If you’re an iOS Developer. You’ve probably heard of Reveal.
It’s a powerful runtime view debugging tool for iOS developers.
If you have a jailbroken iOS device. You’re possible to debug any other’s apps without having its source code.
Read Peter Steinberger’s post How to Inspect the View Hierarchy of Third-Party Apps.
I’ll show you how to inspect with iOS 12.
Preparing
Install Reveal
brew cask install reveal
Jailbreak an iOS device. My tutorial.
Install Xcode
mas install 497799835
Installing
Checkout my GitHub fork of Reveal2Loader
git clone https://github.com/HackingGate/Reveal2Loader.git
cd Reveal2Loader
Build .deb
package
make clean
make
make package
Upload .deb
package to jailbroken iOS device
scp releases/debs/naville.revealloader2_1.0.0-1_iphoneos-arm.deb root@192.168.2.2:~/
SSH login in jailbroken iOS device
ssh root@192.168.2.2
Install .deb
. It will download RevealServer.zip form my download center. And set everything up.
dpkg -i naville.revealloader2_1.0.0-1_iphoneos-arm.deb
Inspecting
On your jailbroken device. Open Settings -> Reveal
Enable applications you want to inspect
Open Reveal.app. You’ll see inspectable apps appear.
Reveal only works on Apple’s own UI framework. Frameworks such as Flutter only shows one layer.
Pinterest is using ASCollectionView for its waterfall layout.
Pixiv ScrollView for image zoom.