Skip to content

Instantly share code, notes, and snippets.

@aybekckaya
Created July 1, 2019 17:18
Show Gist options
  • Save aybekckaya/098cec96a533c8c7a9bc3ef9048735f2 to your computer and use it in GitHub Desktop.
Save aybekckaya/098cec96a533c8c7a9bc3ef9048735f2 to your computer and use it in GitHub Desktop.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
if window == nil {
window = UIWindow(frame: UIScreen.main.bounds)
}
let vc:LiveStreamVC = LiveStreamVC(nibName: "LiveStreamVC", bundle: nil)
let navigationController = UINavigationController(rootViewController: vc)
navigationController.isNavigationBarHidden = true
self.window?.rootViewController = navigationController
self.window?.makeKeyAndVisible()
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment