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
I looked in code and find out that moveToViewController(at: preCurrentIndex) called in viewDidAppear so It will override that code my code in viewDidLoad.
Is it a bad Idea to change currentIndex to public and set it in my
View Controller >> viewDidLoad >> after super.viewDidLoad?
Thanks,
Vahid
The text was updated successfully, but these errors were encountered:
Is there any way to set default view controller instead of first one?
This line of code works but only in
viewDidAppear
I want to work inviewDidLoad
in initialization.I looked in code and find out that
moveToViewController(at: preCurrentIndex)
called inviewDidAppear
so It will override that code my code inviewDidLoad
.Is it a bad Idea to change
currentIndex
to public and set it in myThanks,
Vahid
The text was updated successfully, but these errors were encountered: