You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I Jump to second tab without taping the second one.
I tried this method, jump(to index: Int, animated: Bool) but always its showing the first one as selected. Help me please..
public func jump(to index: Int, animated: Bool) {
guard let tabView = tabView, let contentScrollView = contentScrollView else { return }
if currentIndex != index {
delegate?.swipeMenuView(self, willChangeIndexFrom: currentIndex, to: index)
}
jumpingToIndex = index
tabView.jump(to: index)
contentScrollView.jump(to: index, animated: animated)
self.setNeedsLayout() // should add
}
The text was updated successfully, but these errors were encountered: