-
Add AMHelpViewController, AMHelpPageController and UIDevice_AMAdditions to your project (.h and .m files).
-
Add HelpView.xib and HelpPageView.xib.
-
Create a folder reference (blue folder icon) for your help contents (one copy for each device/orientation combination you want to support).
-
Create help pages inside the help folder. The filenames should follow the pattern 'page1.html', 'page2.html' etc.
-
List the help folder(s) in your Info.plist file:
- AMHelpFolderName
- help folder for iPhone (mandatory)
- AMHelpPageCount
- number of help pages for iPhone (mandatory)
- AMHelpFolderName-Landscape
- help folder for iPhone in landscape orientation (optional)
- AMHelpPageCount-Landscape
- number of help pages for iPhone in landscape orientation (optional)
- AMHelpFolderName-iPad
- help folder for iPad (mandatory for iPad)
- AMHelpPageCount-iPad
- number of help pages for iPad (mandatory for iPad)
- AMHelpFolderName-iPad-Landscape
- help folder for iPad in landscape orientation (optional)
- AMHelpPageCount-iPad-Landscape
- number of help pages for iPad in landscape orientation (optional)
Note that it is possible to use the same help pages for portrait and landscape orientations. But if you want to support the iPad you must add a separate set of pages.