开发者

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 开发者_StackOverflow中文版I want to exit from the app. Any advice would be really appreciated. thanks


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜