Changeset View
Changeset View
Standalone View
Standalone View
WildFyre/LandingScreen.swift
- This file was added.
// | |||||
// LandingScreen.swift | |||||
// WildFyre | |||||
// | |||||
// Created by Eric Bregman on 4/7/19. | |||||
// Copyright 2019 WildFyre. All rights reserved. | |||||
// | |||||
import UIKit | |||||
import WebKit | |||||
class LandingScreen: UIViewController, WKUIDelegate { | |||||
let userCompletedOnBoarding = UserDefaults.standard.bool(forKey: "OnBoarding") | |||||
override func viewDidLoad() { | |||||
super.viewDidLoad() | |||||
} | |||||
override func viewDidAppear(_ animated: Bool) { | |||||
/* print(userCompletedOnBoarding) | |||||
UserDefaults.standard.setValue(false, forKey: "_UIConstraintBasedLayoutLogUnsatisfiable") | |||||
if userCompletedOnBoarding == false{ | |||||
UserDefaults.standard.set(true, forKey: "OnBoarding") | |||||
self.performSegue(withIdentifier: "didNotCompleteOnBoarding", sender: Any?.self) | |||||
}else{ | |||||
self.performSegue(withIdentifier: "didCompleteOnBoarding", sender: Any?.self) | |||||
} */ | |||||
} | |||||
} |