UIImage *image = [UIImage imageNamed:@"small.png"];There are several ways to fix this, some more complicated while some more difficult. Common thing is that they contain a lot of code to infest with bugs. However simple problems require simple solutions:
self.imageView = [[UIImageView alloc] initWithImage:image];
self.imageView.center = self.view.center;I'm too embarrassed to tell how much time I "invested" until I got to this solution. Let's just say that I learned a lot. Btw this code does not rotate. There are several ways to fix this...