xcode - How to set images to uialertview button in iOS? -


how can set images uialertview buttons without using custom buttons?

can me?

please try use one. think may you.. can using without using custom button.

for (uiview *view in [alert subviews]) {     if ([view iskindofclass:[uibutton class]])     {                     [view setbackgroundcolor:[uicolor colorwithpatternimage:[uiimage imagenamed:@"imagename"]]];     } } 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -