IOS UI Debugging Tool--Uidebugginginformationoverlay

Source: Internet
Author: User

English Original:

http://ryanipete.com/blog/ios/swift/objective-c/uidebugginginformationoverlay/

inadvertently see iOS with Debugging Tools

1, just add the following code in the Appdelegate
-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (nsdictionary *) launchOptions {·····  #ifid overlayclass = nsclassfromstring (@ "uidebugginginformationoverlay " );    [Overlayclass performselector:nsselectorfromstring (@ "preparedebuggingoverlay" )]; #endif ·······}
2. Operation

After running, with two fingers in the status bar at the same time click on the display can be displayed in the suspended layer of debugging.

3. Effect

4. Function Introduction
    • View Hierarchy (viewing hierarchical relationships)
    • VC hirarchy (view Viewcontroller hierarchy Relationship)
    • Ivar explor (View variables)
    • Spec Compare (add design and current effect comparison)
    • System Color Audit (unknown)
5. Practical Summary

for development, because Xcode is so powerful that this function is estimated to be chicken ribs, so there is not much development that cares about this feature.

For the UI, they will not see the issue for each element.

So this place is purely entertaining ....

IOS UI Debugging Tool--Uidebugginginformationoverlay

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.