Hi all.
Trying to keep My View from being blurry.
So I'm trying to remove the old views.
with:
which I set up with:
I even tried to set the set the Views Alpha to 0.0f and that crashed too..
basically I want the redraws to be cleared. before I draw update (redraw) the view.
thanks
Ian
Trying to keep My View from being blurry.
So I'm trying to remove the old views.
with:
Code:
UIView *removeView;
while((removeView = [self viewWithTag:999]) != nil) {
[removeView removeFromSuperview];
}
which I set up with:
Code:
UIImage *uiimage = [[UIImage alloc]retain];
uiimage = [currentCard stampImage];
CGSize mysize = uiimage.size;
UIGraphicsBeginImageContext(mysize);
[uiimage drawInRect:CGRectMake(stampPost.x,stampPost.y, stampSize.width, stampSize.height)
blendMode:kCGBlendModeNormal alpha:alpahed];
UIImage* blendedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageView *stampOverlay = [[UIImageView alloc] initWithImage:blendedImage];
[blendedImage release];
[stampOverlay setFrame:CGRectMake(0,0,bounds.size.width,bounds.size.height)];
[stampOverlay setAlpha:STAMPBASE];
[stampOverlay setTag:999];
[self addSubview:stampOverlay];
[stampOverlay release];
I even tried to set the set the Views Alpha to 0.0f and that crashed too..
basically I want the redraws to be cleared. before I draw update (redraw) the view.
thanks
Ian
Last edited: