How do I make my end user license agreement pop up after installing the app?

I want a EULA (End user license agreement) to show up when someone installs my app. Any ideas how I should do it? I am a newbie developer.

Here’s a great article about how to detect the first launch only. You could show a modal view only on first launch

How do you use a Modalview?

Just show the view controller. It is modal by default

So just put it in my viewcontroller file?