how to get access subview of UIView?

Posted by RAGOpoR on Stack Overflow See other posts from Stack Overflow or by RAGOpoR
Published on 2010-03-17T09:10:18Z Indexed on 2010/03/21 17:11 UTC
Read the original article Hit count: 430

Filed under:
|
|

according to this code if i want to access imageView1 and imageView2 how can i access to it? please show me some example

example cell.accessoryView.subviews ?

UIImageView *imageView1 = [[[UIImageView alloc] init] autorelease];
UIImageView *imageView2 = [[[UIImageView alloc] init] autorelease];
imageView2.alpha = 0;
[cell.accessoryView addSubview:imageView1];
[cell.accessoryView addSubview:imageView2];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiview