RLAgreement View Controller
This project allows developers to include and Agreement, Terms of Service, Non Disclosure Agreement, etc. to an iPhone App. The controller stores a variable in the user's settings when the user has a valid agreement and it checks every time the user opens the App.
The Agreement text is stored in one or more HTML files that can be formated as needed. It is also possible to include a PDF version of the Agreement and the user can choose to e-mail himself a copy of the PDF file.
Compile the code in Xcode to checkout the demo. You might have to change some of the code/text depending on your specific needs.
MessageUI.frameworkto your project
- Copy the files
RLAgreementViewController.xibto your code
- Copy the image files for the "previous" and "next" page buttons (
- Modify the method
applicationDidBecomeActive:in your App Delegate. Check out
RLAgreementAppDelegate.mfor an example
I plan to use this code to include an NDA to my BETA testers while doing Ad-Hoc Distribution. I tried to cover all my needs, but if you have an idea let me know and I'll try to add the feature.
Follow @RiveraLabs on Twitter to send me your ideas.