uiimage - ios6 how to compose 2 images -
i trying overlay play button on image thumbnail currentl thumbnail displayed using :
if(nil != self.analysis.image) { self.imageview.image = self.analysis.image; }
i tried use thumbnail background image , , play button transparency image, doesn't appear @ ...
if(nil != self.analysis.image) { self.imageview.backgroundcolor = [uicolor colorwithpatternimage:self.analysis.image]; self.imageview.image = [uiimage imagenamed:@"whitebackground.png"]; }
what's best way compose them ?
my fault !
the coding right...!! whitebackground.png transparent .... have use display button image ....
if(nil != self.analysis.image) { self.imageview.backgroundcolor = [uicolor colorwithpatternimage:self.analysis.image]; self.imageview.image = [uiimage imagenamed:@"displaybutton.png"]; }
Comments
Post a Comment