Open Sulemanali511 opened 4 years ago
I am also facing this issue,My values are not updating in side menu.For the first time only it's fetching values later it's not updating.
Finally i found the solution that We need to add leftPanelVC?.viewWillAppear(true) in FAPanel+Animations.swift under the loadLeftPanel() like this
if isLeftPanelOnFront { leftPanelVC?.viewWillAppear(true) view.bringSubviewToFront(leftPanelContainer) }
you can use delegate method to update UI when leftvc will appear like this
import FAPanels
class MenuViewController : FAPanelStateDelegate{
override func viewDidLoad() {
super.viewDidLoad()
panel?.delegate = self
}
func leftPanelWillBecomeActive() {
self.setData() //update ui
}
}
When ever i change the profile image or username from profile section response successful and change the name on all place except on left side menu i replace the username text of UILabel in view did load of side menu