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