| | |
| | | |
| | | yy_popBlock = { [weak self] in |
| | | if self?.needPopRoot ?? false{ |
| | | NotificationCenter.default.post(name: PlantGuideQuit_Noti, object: nil, userInfo: nil) |
| | | if JQ_currentNavigationController().viewControllers.first is PlanGuideVC{ |
| | | NotificationCenter.default.post(name: PlantGuideQuit_Noti, object: nil, userInfo: nil) |
| | | }else{ |
| | | self?.navigationController?.popViewController(animated: true) |
| | | } |
| | | }else{ |
| | | self?.navigationController?.popViewController(animated: true) |
| | | } |
| | |
| | | |
| | | needPopRoot = true |
| | | NotificationCenter.default.post(name: SetBGMSuccess_Noti, object: items[index.row]) |
| | | DispatchQueue.main.asyncAfter(delay: 0.6) { |
| | | self.navigationController?.popViewController() |
| | | } |
| | | // DispatchQueue.main.asyncAfter(delay: 0.6) { |
| | | // self.navigationController?.popViewController() |
| | | // } |
| | | } |
| | | } |
| | | |