How to open alertcontroller after pressed TabBar? – Ios swift
import UIKit class TabBarController: UITabBarController, UITabBarControllerDelegate { override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .white self.delegate = self let vc1 = UINavigationController(rootViewController: VideoListVC()) let vc2 = UINavigationController(rootViewController: AddViewController()) let vc3 = UINavigationController(rootViewController: FabricViewController()) vc1.tabBarItem.image = UIImage(systemName: "house") vc2.tabBarItem.image = UIImage(systemName:…