hi all.
trying keep view being blurry.
i'm trying remove old views.
with:
code:
uiview *removeview; while((removeview = [self viewwithtag:999]) != nil) { [removeview removefromsuperview]; }
which set 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 tried set set views alpha 0.0f , crashed too..
want redraws cleared. before draw update (redraw) view.
thanks
ian
give context. method code in?
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment