Monday 24 June 2013

iOS: How to Debug UIView Layout Issues

Go to https://github.com/glock45/iOS-Hierarchy-Viewer

Download and add it to your project.

When the layout issue shows up in iOS simulator, open a web browser and go to the iOS Hierarchy Viewer page (shown in app debug output at program launch.)

Starting from UIWindow, check frame of the UIViews until the problematic UIView.

No comments:

Post a Comment