Skip to content

Commit

Permalink
[#18] 2주차 기본과제(3) - 화면전환 추가 완료
Browse files Browse the repository at this point in the history
  • Loading branch information
meenyweeny committed Apr 17, 2022
1 parent f4bcac2 commit 3c21b1e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ final class CompleteViewController: UIViewController {
// MARK: - IBAction

@IBAction func completeButtonDidTap(_ sender: Any) {
self.dismiss(animated: true)
guard let tabbarVC = UIStoryboard(name: Const.Storyboard.Main, bundle: nil).instantiateViewController(withIdentifier: Const.ViewController.MainTabbarVC) as? MainTabbarController else { return }
changeRootViewController(tabbarVC)
}

@IBAction func anotherAccountButtonDidTap(_ sender: Any) {
self.dismiss(animated: true)
}
}

0 comments on commit 3c21b1e

Please sign in to comment.