Showing
2 changed files
with
2 additions
and
5 deletions
No preview for this file type
... | @@ -13,10 +13,7 @@ import UIKit | ... | @@ -13,10 +13,7 @@ import UIKit |
13 | super.viewWillAppear(animated) | 13 | super.viewWillAppear(animated) |
14 | self.navigationController?.navigationBar.topItem?.title = "" | 14 | self.navigationController?.navigationBar.topItem?.title = "" |
15 | 15 | ||
16 | - self.navigationController?.navigationBar.topItem?.leftBarButtonItem = UIBarButtonItem(image: UIImage(contentsOfFile: "ic_back"), | 16 | + self.navigationController?.navigationBar.backIndicatorImage = UIImage(contentsOfFile: "ic_back") |
17 | - style: .plain, | 17 | + self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = UIImage(contentsOfFile: "ic_back") |
18 | - target: navigationController, | ||
19 | - action: #selector(UINavigationController.popViewController(animated:))) | ||
20 | -// self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = UIImage(contentsOfFile: "ic_back") | ||
21 | } | 18 | } |
22 | } | 19 | } | ... | ... |
-
Please register or login to post a comment