I have two view controllers.
I made imageview (in the Gif file) in first VC. After 5seconds, I want page pass to second vc. First VC code is like this:
class LemonVC: UIViewController {
@IBOutlet weak var LemonGif: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
LemonGif.loadGif(name: "sufoo")
// DispatchQueue.main.asyncAfter(deadline: .now() +
.seconds(4), execute: {
//
// })
// Do any additional setup after loading the view.
}
First VC name is LemonVC
Second VC name is SecondVC


viewDidLoad, but might considerviewDidAppearfor startersperformSegue... assuming you actually named the segue's between you view controllers