Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -181,8 +181,8 @@ import SwiftEventBus | ... | @@ -181,8 +181,8 @@ import SwiftEventBus |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | private func presentInfoPopup() { | 183 | private func presentInfoPopup() { |
| 184 | - let storyboard = UIStoryboard(name: "Main", bundle: nil) | 184 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
| 185 | - if let popupVC = storyboard.instantiateViewController(withIdentifier: "PopupInfoViewController") as? PopupInfoViewController { | 185 | + if let popupVC = storyboard.instantiateViewController(withIdentifier: "PopupInfoViewController") as? SwiftWarplyFramework.PopupInfoViewController { |
| 186 | popupVC.modalPresentationStyle = .overCurrentContext | 186 | popupVC.modalPresentationStyle = .overCurrentContext |
| 187 | popupVC.modalTransitionStyle = .crossDissolve | 187 | popupVC.modalTransitionStyle = .crossDissolve |
| 188 | self.present(popupVC, animated: true, completion: nil) | 188 | self.present(popupVC, animated: true, completion: nil) | ... | ... |
-
Please register or login to post a comment