Project/Swift+WebView
iOS/WebView/Project - Init,MainView Controller 설정#3
건담아빠
2023. 1. 10. 16:57
Controllers 패키지 생성
InitViewController 추가
import Foundation
import UIKit
class InitViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
print("######### Init ViewController - viewDidLoad")
}
}
MainViewController 추가
import Foundation
import UIKit
class MainViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
print("######### Main ViewController - viewDidLoad")
}
}
시작 컨트롤러로 수정
앱 시작 후 확인