ok, i had a quick look, and it works. But maybe not what you want. Seems you want to have a background image. Means behind unity.
That would not be visible, because, well, its behind unity.
You use:
[_window insertSubview:myImage atIndex:0];
Which means you put the imageview in the very background. atIndex:0 means bottommost.
If you want something on top, do this (refers to unity 3)
open the appcontroller and look for the methode OpenEAGL_UnityCallback. Thats where the window and EAGLView are being set up.
Right before the return statement paste this:
UIImageView *myImage = [[UIImageView alloc] initWithFrame: _window.frame];
[myImage setImage:[UIImage imageNamed:@“Icon.png”]];
[_window insertSubview:myImage aboveSubview:view];
[myImage release];
This will put a fullscreen image over unity. Which you probably don´t want.
To make it a certain size change the firstline to something like this:
UIImageView *myImage = [[UIImageView alloc] initWithFrame: CGRect(20,20,100,100)];
also, i don´t see the point in doing this. If you want to have some functionality with this you would rather write a UIViewcontroller, programm the interactivity in there and put its view on top, instead of just an imageview.
In case you really wanted a background image, well, then you need to see if something like
view.opaque = NO;
works. But since unity always uses a camera background color and clearflag, that might not help. You need to play around with that.