views:

31

answers:

1

Hi,

I have a few buttons in my view which work as a slideshow, every few seconds buttons change their appearance. On button click I open UIWebView and load a page, I need to change the target (url) of each button when they change their appearance.

What is the easiest way to do it? I can't change buttons' tags as my slideshow based on them. Any ideas will be appreciated,

Thanks

A: 

Keep the url in an @property of the ViewController and update it when you update the button's appearance.

Lou Franco