What you need to do is create an empty UIView in your storyboard. Drag and drop the UIImageView into your view.
Then subclass UIView. In the storyboard, set the class of your view to match your newly created class. Open the editor window (in the upper right of the main project window, the middle button in the "editor" section). Place XXXView.h in the left window and your storyboard on the right. ctrl-drag from your UIImageView to your .h (between @interface and @end ). Give him a name. You have created a connection between your UIImageView visual representation and your code. Now you can access it from your .m file.
Ray Wenderlich has a pretty neat storyboard tutorial. Here is part 1 and part 2 .
rdurand
source share