1
當前如何提出新的ViewController並從內存中關閉當前如何提出新的ViewController並退出從內存
var presentingViewController :UIViewController! = self.presentingViewController;
self.dismissViewControllerAnimated(false) {
// go back to MainMenuView as the eyes of the user
presentingViewController.dismissViewControllerAnimated(false, completion: nil)
}
這是確定的,但我想現在才解僱到可以顯示負載指示
let loadingNotification = MBProgressHUD.showHUDAddedTo(self.view, animated: true)
loadingNotification.labelText = "Retrieving Data"