0

In my app I use this code:

func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let mainTabBarController =  UIApplication.shared.keyWindow?.rootViewController as? MainTabBarController
    mainTabBarController?.maximizePlayerDetails()
} 

When I launce the app tapped by cell in Table, use some func maximizePlayerDetails from another class MainTabBarController, everything works fine. But when I signOut from app and then signIn again this method doesn't work(UIView doesn't appear). What's the problem?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253

0 Answers0