Reputation: 5073
Many ios apps contain a FAQ or How to use page, when loaded, will display some FAQs in text format. The content is loaded from remote server rather than built in so the contents can be updated anytime with flexibility.
What's the best way to implement this type of page? My app does not contain any server side function except this page so I am really looking for a cheap (or free) way instead of renting a server just for this. Also, my FAQs will be static HTML.
Thank you for any suggestions.
Upvotes: 1
Views: 619
Reputation: 2333
The simplest way to display an HTML page is to use a UIWebView
as the main view of your view controller and set its URL or file-path using the loadRequest()
method of your view.
You can use this method for both remote FAQs (in this case you'll set an URL) and local and static ones for which you'll use a path to the file included in your project.
Upvotes: 1