We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi There,
When I enter in background mode my app crashes due memory leak. I Comment the following code:
let titleView = TitleView(navigationController: nav, title: company.company_name, items: companies) titleView?.button.label.textColor = .white titleView?.button.arrow.image = titleView?.button.arrow.image?.withRenderingMode(.alwaysTemplate) titleView?.button.arrow.tintColor = .white titleView?.action = { [weak self] index in print("select \(index)") let company_name = companies[index] let company = user.companies.filter({ $0.company_name == company_name }).first self?.selectedCompany = company titleView?.button.label.textColor = .white titleView?.button.arrow.image = titleView?.button.arrow.image?.withRenderingMode(.alwaysTemplate) titleView?.button.arrow.tintColor = .white AppSessionManager.shared.retrieveProducts = false AppSessionManager.shared.retrieveOrders = false NotificationCenter.default.post(name: NSNotification.Name(rawValue: "companyChange"), object: nil) } navigationItem.titleView = titleView
Now my app does not have memory leaks. What could be happening?
Best regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi There,
When I enter in background mode my app crashes due memory leak. I Comment the following code:
Now my app does not have memory leaks. What could be happening?
Best regards
The text was updated successfully, but these errors were encountered: