I have two UIButton buttons. I have already initialized the buttons in my xib type add in touch after my program I want to change the type of button:
configImage1=[UIButton buttonWithType:UIButtonTypeDetailDisclosure] ; //doesn't Work !
configImage2=[UIButton buttonWithType:UIButtonTypeDetailDisclosure]; //doesn't Work !
You can’t change the type of the button after you have created it.