             self.presentViewController(mailComposeViewController, animated: true, completion: {
                 UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: false)
             })
+            
         } else {
             self.showSendMailErrorAlert()
         }
-    }
-    
-    @IBAction func menuButtonPressed(sender: AnyObject) {
-        self.revealViewController().revealToggle(nil)
     }
 
     //  MARK: View life cycle
     override func viewDidLoad() {
         super.viewDidLoad()
-
-        mailComposeViewController = configuredMailComposeViewController()
 
         if !MFMailComposeViewController.canSendMail() {
             sendFeedbackButton.enabled = false

import UIKit
import MessageUI

class AboutViewController: UIViewController, SWRevealViewControllerDelegate, MFMailComposeViewControllerDelegate {
    
    var mailComposeViewController: MFMailComposeViewController!

    @IBOutlet weak var sendFeedbackButton: UIBarButtonItem!
    

        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}

// MARK: - SWRevealViewControllerDelegate
extension AboutViewController: SWRevealViewControllerDelegate {
    
    @IBAction func menuButtonPressed(sender: AnyObject) {
        self.revealViewController().revealToggle(nil)
    }
    
}

// MARK: - MFMailComposeViewControllerDelegate
extension AboutViewController: MFMailComposeViewControllerDelegate {
    
    func mailComposeController(controller: MFMailComposeViewController, didFinishWithResult result: MFMailComposeResult, error: NSError?) {
        controller.dismissViewControllerAnimated(true, completion: nil)
        
        // Re-init controller for use again.
        self.mailComposeViewController = configuredMailComposeViewController()
        if result == MFMailComposeResultSent {
            SwiftNotice.clear()
            SwiftNotice.showNoticeWithText(NoticeType.success, text: "感谢反馈", autoClear: true, autoClearTime: 3)
        }
    }

    private func configuredMailComposeViewController() -> MFMailComposeViewController {
        let mailCompseVC = MFMailComposeViewController()
        mailCompseVC.navigationBar.tintColor = UIColor.whiteColor();
        mailCompseVC.mailComposeDelegate = self
