Organizational Research By

Surprising Reserch Topic

how do i inspect the view hierarchy in ios


how do i inspect the view hierarchy in ios  using -'ios,cocoa-touch,uikit'

Is there a GUI tool that inspects the view hierarchy of an iOS app? I'm thinking about Webkit's web inspector or similar tools. I'm looking to debug layout issues, like views having the wrong position or size, or a child not being properly contained in its parent. Currently I have to add asserts that test these various conditions by hand, or set different background colors on different views, and as you can imagine, that's a really tedious way to go about it.

I looked at Instruments's UI recorder, but that only records and plays back UI actions and, in any case, works only for Mac apps.

Is there a better solution?
    
asked Sep 24, 2015 by vimaldas2005
0 votes
6 views



Related Hot Questions



Government Jobs Opening


...