Use reveal to analyze view layouts for other apps
We may sometimes not know how to layout the view, this time we would like to refer to similar other app interface layout, then we can use reveal for layout analysis.
(a) Jailbreak installs OpenSSH and Cydia substrate
See other apps need to jailbreak the phone, jailbreak method here is not carefully said, we search for a bit. After the jailbreak is successful, you can see this installed software Cydia software, start the Cydia software, the first boot needs to update the software source. Download and install OpenSSH and Cydia substrate in the Cydia software
Twoby OpenSSH Copy the framework and dylib to the jailbreak machine
Upload reveal.framework to/system/library/frameworks via OpenSSH and upload libreveal.dylib to/library/mobilesubstrate/ Dynamiclibraries
Scp-r/applications/reveal.app/contents/sharedsupport/ios-libraries/reveal.framework [Email protected]:/System/ Library/frameworks
scp/applications/reveal.app/contents/sharedsupport/ios-libraries/libreveal.dylib [Email protected]:/Library/ Mobilesubstrate/dynamiclibraries
This is the use of the terminal, the two files uploaded to the specified folder on the iphone, the side of the 192.168.2.114 refers to the phone's IP address, its own according to their own IP address to modify it .
(iii) Upload plist file
You can use the editor to generate a libreveal.plist file, or you can create a libreveal.plist file directly in Xcode, which is primarily used to write the bundle ID of the app you want to view. We need to upload the generated plist files to the/library/mobilesubstrate/dynamiclibraries, as well as uploading reveal.framework. Like the toy Superman's Bundleid is Com.mengshizi.toy.
Contents of the Libreveal.plist file:
{
Filter = { Bundles = ("Com.apple.AppStore");
Bundles = ("Com.mengshizi.toy");
}; }
plist file in Xcode
When the file is created, we need to upload the
Note: To explain how to get the bundle ID, we can download a software that you want to query the bundle ID in itunes, and now find the app in my app in itunes.
Select Right-click--Show in finder--Toy Superman 2.1.3.ipa--> Compression "toy Superman 2.1.3.ipa"--unzip "toy Superman 2.1.3.zip"---> Open unpacked folder "Toy Superman 2.1.3 "---> Open payload--> Select Toy Right click---> Show Package Contents---> Search info.plist---> Open info.plist with Bundle Id.
(d) Complete and start using reveal.
After the above three steps have been completed, we need to killall Springboard (refresh the desktop) or reboot the phone.
OK, now we can open the reveal, it's ready to be viewed, and the method and the view simulator run the same.
Here is a post-run result:
Reference: Http://www.tuicool.com/articles/FbAVrqR
http://blog.csdn.net/cuibo1123/article/details/45694657
Use reveal to analyze view layouts for other apps