How to put images on the screen in sdl 1.3 ios?

I’m having problems figuring out how to put images on the screen in sdl 1.3 ios

I’ve built sdl image for iphone, and made sure to link it with it when building the project

I’ve succsesfully got the image to load but when I try to apply it too the screen I then get into a problem
If I apply it by typing this in it won’t compile
apply_image( 0, 0, background, win);
If I apply it this way it compiles but it crashes
apply_image( 0, 0, background, screen);

I look in the log and it says
EXC_BAD_ACCESS (SIGSEGV)

Does anyone know what I should do too load the image?