Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 2.49 KB

inspect-the-view-hierarchy-of-any-ios-apps-on-ios-12.md

File metadata and controls

97 lines (60 loc) · 2.49 KB
title date tags type license
Inspect the View Hierarchy of Any iOS Apps in 2019
2019-06-11
iOS
Reveal
Jailbreak
iOS 12
Blog
CC BY-SA 4.0

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.

Reveal-App-Store.png

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

Settings-Reveal.png

Enable applications you want to inspect

Reveal-Enable.png

Open Reveal.app. You'll see inspectable apps appear.

Reveal-App.png

Reveal only works on Apple's own UI framework. Frameworks such as Flutter only shows one layer.

Reveal-FlutterView.png

Pinterest is using ASCollectionView for its waterfall layout.

Reveal-Pinterest.png

Pixiv ScrollView for image zoom.

Reveal-Pixiv.png