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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -