tags:

views:

35

answers:

2

I have a UIImageView that I have resized to fit a small ball. The current background is black color. I want to set the background as some image and then move the ball on top of that image. I tried to use another UIImageView but the background takes over the ball image and the ball is not visible. Any ideas!

A: 

I would suggest not using interface build and just doing it programatically, much more control that way.

cory.m.smith
There is a certain simplicity to doing it programmatically, but there is also a very good argument to doing it through interface builder. Once you get it down, it can be a lot easier to work with your project, since the GUI is separate from the code. IB has come a long ways since it was first released!
JoBu1324
+1  A: 

In IB, are you sure you have the small UIImageView in on top of the larger one? Try deleting the smaller UIImageView from IB and re-adding it on top of the larger one. I noticed that it's hard to tell which UIView is on top in IB for some reason.

Posting as requested. Glad I could help!

JoBu1324