import UIKit // The HelpViewController only contains static text and a back button class HelpViewController: UIViewController { @IBOutlet weak var helpView: UIWebView! // Closes the view when the back button is blicked @IBAction func backToMain(sender: UIButton) { dismissViewControllerAnimated(true, completion: nil) } override func viewDidLoad() { super.viewDidLoad() // Sets the HTML for the UIWebView self.helpView.loadHTMLString("

HTML goes here

", baseURL: nil) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }