UIView is the root class of all UI elements.
Undocumented methods
-recursiveDescription
Signature | -(NSString*)recursiveDescription; |
---|---|
Available in | 3.0 – 3.1 |
Returns the description of the view and its subviews.
Example output:
<UIWebView: 0x4116bb0; frame = (0 100; 320 230); layer = <CALayer: 0x4116c20>> <UIScroller: 0x411e110; frame = (0 0; 320 230); clipsToBounds = YES; autoresize = H; layer = <CALayer: 0x411e4d0>> <UIImageView: 0x411f460; frame = (0 0; 54 54); transform = [-1, 0, -0, -1, 0, 0]; alpha = 0; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x411f490>> <UIWebDocumentView: 0x4812c00; frame = (0 0; 320 230); layer = <UIWebLayer: 0x41171c0>>
-scriptingInfoWithChildren
Signature | -(NSDictionary*)scriptingInfoWithChildren; |
---|---|
Available in | 2.0 – 3.1 |
This function returns an NSDictionary with contains some information e.g. geometry, class name, etc.
References
- Official documentation: http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
- Additional header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIView2.h