new created UIImageViews do not show up when added as subview <p>upon a tap, I want to let a few UIImageView objects appear on an underlaying UIView. So I created the following action:</p> <pre><code>- (IBAction)startStars: (id) sender { UIView* that = (UIView*) sender; // an UIButton, invisible, but reacting to Touch Down events int tag = that.tag; UIView* page = [self getViewByTag:mPages index:tag]; // getting a page currently being viewed if ( page != nil ) { int i; UIImage* image = [UIImage imageNamed:@"some.png"]; for ( i = 0 ; i &lt; 10 ; ++i ) { // create a new UIImageView at the position of the tapped UIView UIImageView* zap = [[UIImageView alloc] initWithFrame:that.frame]; // assigning the UIImage zap.image = image; // make a modification to the position so we can see all instances CGPoint start = that.layer.frame.origin; start.x += i*20; zap.layer.position = start; [page addSubview:zap]; // add to the UIView [zap setNeedsDisplay]; // please please redraw [zap release]; // release, since page will retain zap } [image release]; } } </code></pre> <p>Unfortunately, nothing shows up. The code gets called, the objects created, the image is loaded, even the properties are as expected. Page itself is a real basic UIView, created with interface builder to contain other views and controls.</p> <p>Still, nothing of this can be seen....</p> <p>Has anyone an idea what I am doing wrong? Do I need to set the alpha property (or others)?</p> <p>Thanks</p> <p>Zuppa</p>