I have an error when I tried to create a UIImageView. Look at this code :
UIImage* backgroundPanel = [[UIImage imageNamed:@\"loginPanelBackground.png\"] resizabl
I still can't comment due to low rep. However I'd like to add to neon1's answer which helped me a lot.
You also need to make sure that all of the insets are greater than zero.
insets.left > 0
insets.top > 0
insets.right > 0
insets.bottom > 0