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];
You can use view’s tag property:
And later get subview using
-viewWithTag:method: