Use UIButton to move next ViewController

JuneHyeok Hong·2022년 9월 4일
0
post-thumbnail

What I did today

  1. customize half-modal autolayout
  2. connect to the next view
  3. half modal customize (add next view button)
  4. next task to do : 아직 다른 팀원의 코드를 merge 하지 않아 확인하기 버튼 이후 넘어갈 view가 없지만, 일단은 TemporaryViewController 를 만들어 연결해놓았다. 이제 merge 하고 충돌나는것들 조정한다음 Realm 공부하여 로컬에 데이터를 저장할 생각이다.
  5. 위와 같이 버튼에 addTarget 하여 viewController 를 전환하였다. 전환 Style 은 위 코드에서 보이는 modalTransitionStyle , modalPresentationStyle 로 설정할 수 있다.

0개의 댓글