views:

35

answers:

2

i have a play button in my view,if i press play its gets updated the stream and started playing.. until i get play song i dont want to take any user interactions on play button.. can any ony help me on this.....

+1  A: 
button.userInteractionEnabled = NO;
Vladimir
A: 

You could also set the "Enabled" property to "NO" or if you want animation, fade the alpha out.

stitz