SOTabBarController selected index not refreshing issue iOS swift
Problem:
I had tried that select particular index on SOTabBarController.In log it shows selected index updated but in UI not updated.
How to solve that?
Solution:
In your cocoapod file add the code in SOTabBarController file
public func preSelectedIndex(index: Int){
self.tabBar.didSelectTab(index
}
In another class file Class SOTabBar update the code aslike below
from private to normal function
func didSelectTab(index: Int) {
Comments
Post a Comment