You can get the hierarchy of subviews on UIImagePickerController with this code.

// Recursive enumerate subviews to get hierarchy of camera view.
- (BOOL)enumSubviews:(UIView*)view withNest:(int)idx
{
	Class cl = [view class];
	char sp[255];
	memset(sp, ' ', 255);
	sp[idx*4] = 0;

	NSLog(@"%s%@\n", sp, NSStringFromClass(cl));

	for (int i = 0; i < [view.subviews count]; i++)
	{
		if ([self enumSubviews:[view.subviews objectAtIndex:i] withNest:idx+1])
			return YES;
	}

	return NO;
}

And here is a result.

PLCameraView
    PLPreviewView
        PLCameraFocusView
    UIImageView
    PLCropOverlay
        OverlayView
        PLCropOverlayBottomBar
            UIImageView
                PLCropOverlayBottomBarButton
                    UIImageView
                    UIButtonLabel
                PLCropOverlayBottomBarButton
                    UIImageView
                    UIButtonLabel
            UIImageView
                PLCameraButton
                    UIView
                        UIImageView
                PLCropOverlayBottomBarButton
                    UIImageView
                    UIButtonLabel
    UIImageView

One of UIImageView has photo taken. Keep exploring..

here again

3月 13th, 2010

Get the Flash Player to see this player.

We will be here again.
People will meet again.
僕らは巡る。

Download
# I recorded a guitar part within one take and laid free ambient sounds on it. :)

希望[hope]

3月 11th, 2010

希望

return
odoruinu.net, softwares, drawings & photography by noradaiko.
all copyright(C) 2008 noradaiko.