Thank you. Made the changes and it seems fine.
–
pdenlingerJun 18 '11 at 20:31

However, 'bgImageView' shows up as undeclared identifier. Asks if I mean 'UIImageView'. How to deal with this?
–
pdenlingerJun 18 '11 at 20:33

Sorry, just saw what you said about bgImageView. Thank you.
–
pdenlingerJun 18 '11 at 20:37

I updated the answer, always make sure you declare each variable you use, whether they are local for some method or global (like this case) for you whole class. This should be the SCOPE of your variable
–
Nicolas SJun 18 '11 at 20:38