Mat
Mat

Reputation: 6324

IPHONE - How to make a disclaimer?

my app is almost finished and since is for airline pilots I would like to add a disclamer (like an alert view...but more like a scroll view) that pop up as soon as they start the app and if they don't press ok I want to exit from the app. Any advice would be really appreciated. thanks

Upvotes: 0

Views: 266

Answers (1)

Amy Worrall
Amy Worrall

Reputation: 16337

Just use a UIAlertView — if you put a lot of text in it, it automatically scrolls.

If the user presses the "No" button, you need to just disable the app rather than exit — apps aren't allowed to exit unless the user presses the home button. You could pop up a modal view controller (with no way of dismissing it) with a message saying that the app cannot be used until the disclaimer is read and accepted.

Upvotes: 1

Related Questions