         appSettingsViewController.showCreditsFooter = false
         appSettingsViewController.showDoneButton = false
         appSettingsViewController.title = "SPi 双拼输入法"
+        self.appSettingsViewController = appSettingsViewController
     }
 
     required init(coder aDecoder: NSCoder) {

        return nil
    }
    
//    override func viewWillAppear(animated: Bool) {
//        self.setNavigationBarHidden(true, animated: animated)
//        super.viewWillAppear(animated)
//    }
//
//    override func viewWillDisappear(animated: Bool) {
//        self.setNavigationBarHidden(false, animated: animated)
//        super.viewWillDisappear(animated)
//    }
    
    override func viewDidLoad() {
        super.viewDidLoad()


class ViewController: UINavigationController, IASKSettingsDelegate {
    
    var appSettingsViewController: IASKAppSettingsViewController!
    
    override init() {
        var appSettingsViewController = IASKAppSettingsViewController()
        super.init(rootViewController: appSettingsViewController)
