rendered paste bodyCGRect bounds = self.view.bounds;
bounds = CGRectMake(0, 0, bounds.size.width, bounds.size.height);
UIView* overlayView = [[[UIView alloc] initWithFrame:bounds] autorelease];
overlayView.autoresizesSubviews = YES;
overlayView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
overlayView.opaque = NO;
UILabel *introlabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, 280, 100)];
introlabel.text = @"Umístěte čárový kód karty\ndo vyznačeného pole.\nPozor na pohyb a odlesky.";
introlabel.shadowColor = [[UIColor alloc] initWithRed:0 green:0 blue:0 alpha:.4];
introlabel.numberOfLines = 3;
introlabel.backgroundColor = [[UIColor alloc] initWithWhite:1 alpha:0];
introlabel.opaque = NO;
introlabel.textColor = [[UIColor alloc] initWithWhite:1 alpha:1];
introlabel.textAlignment = UITextAlignmentCenter;
[overlayView addSubview:introlabel];
UIButton* button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[button setAlpha:.8];
button.frame = CGRectMake(30, 360, 260, 80);
[button setTitle:@"Problémy se skenováním?" forState:(UIControlStateNormal)];
button.titleLabel.lineBreakMode = UILineBreakModeWordWrap;
button.titleLabel.textAlignment = UITextAlignmentCenter;
[button addTarget:self action:@selector(cancelButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
[overlayView addSubview:button];