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" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -