일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- PromptEngineering
- chart.js
- 일본여행
- 초딩수학
- largelanguagemodels
- MYSQL
- 한글깨짐
- rounding
- Android
- swift 화면전환
- Request.Form
- .csv
- 업비트
- league of legends
- Banker's rounding
- Banker's
- Kakao API Address
- MS-SQL
- Aspose.cells
- 썸머노트
- 오블완
- python
- CSV
- LEFT JOIN
- upbit
- 나만의 상점
- MSSQL
- Oracle
- Excel
- AIoptimization
Archives
- Today
- Total
DBA
화면전환 : Navigation Controller 본문
728x90
반응형
SMALL
ViewController를 선택하고 xcode의 Editor > Embed In > Navigation Controller를 선택해서 Navigation Controller를 추가 한다.
[ViewController.swift]
@IBAction func onClickedSecondViewControllerNavigation(_ sender: UIButton) {
let vcSecond = self.storyboard?.instantiateViewController(withIdentifier: "vcSecond")
self.navigationController?.pushViewController(vcSecond!, animated: true)
}
withIdentifier: SecondViewController의 Storyboard ID Navigation Controller 를 사용 하면 왼쪽 상단에 Back버튼이 생성 되므로 따로 돌아가기 버튼을 추가 할 필요는 없다. |
728x90
반응형
LIST
Comments