본문 바로가기 메뉴 바로가기

iOS LearningMachine🔥

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

iOS LearningMachine🔥

검색하기 폼
  • 분류 전체보기 (68)
    • iOS & swift (42)
    • algorithm (5)
    • computer science (20)
  • 방명록

swift scroll large title (1)
스크롤 맨 위로 하고, Navi Bar Title을 Large로 보여주기

테이블뷰의 스크롤을 맨위로 올렸을 때, navigationbar의 title을 large로 설정하는 방법입니다.(자꾸 small로 나와서) 우선 Large Title 설정방법입니다. 이렇게 설정해주면 Large 타이틀로 잘 나오는 모습입니다.. largeTitleDisplayMode의 값으로 .automatic 을 줘서, 스크롤 하면 small 로 바뀝니다. 이렇게 말이죠. 이제 scroll to top 하는 방법입니다. tableView.scrollToRow(at: IndexPath(row: NSNotFound, section: 0), at: .top, animated: false) 동작이 이루어지는 곳에 넣어주면 되겠죠? row에 0 을 해도 되지만 그러면 셀이 존재하지 않을 땐 에러가 떠요. 그래서..

iOS & swift 2021. 9. 30. 00:58
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • swift filemanager get excel
  • rag 기반 llm 챗봇
  • chatgpt rag llm
  • 비동기 페이징 swift
  • 공부 타이머 어플
  • readysay
  • swift 자간
  • swift urlcomponent encode
  • 레디세이
  • swift network refactoring
  • swift network module
  • swift urlsession 공통화
  • swift excel read
  • 엔디소프트 레이세이
  • swift filemanager excel
  • swift 네트워크 모듈화
  • swift urlsession refactoring
  • llm csv
  • swift 엑셀 가져오기
  • 레디세이 어플
  • rag 기반 llm
  • swift queryitem encode
  • filemanager excel read
  • swift 엑셀 읽기
  • llm pdf rag
  • concurrency pagination
  • swift get excel
  • swift network 공통화
  • 비동기 리스트 swift
  • rag llm pdf
more
«   2025/08   »
일 월 화 수 목 금 토
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 29 30
31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바