How to use SDL in iOS project

Hello!? ?I am a iOS developer. I want to use SDL in ViewController viewDidLoad. I use the following code


Fprintf (stderr, “Could not initialize SDL -%s/n”, SDL_GetError ());

} “.the emergence of such error” Could not initialize SDL - Application didn’tinitialize properly, did you include SDL_main.h in the file containing your main(/n) function?".

I don’t know how to solve, can you help me??