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

그냥요

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

그냥요

검색하기 폼
  • 🍕 (19)
    • iOS (12)
    • Git (0)
    • Algorithm (0)
    • FE, BE (0)
    • Just Because (3)
    • fill a void (3)
  • 방명록

statusBarStyle (1)
iOS status bar style 변경하기

status bar style을 코드로(programmatically..) 변경하는 방법! 아래와 같은 코드의 뷰컨트롤러가 있을 때 final class MainViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() setUpUI() } private func setUpUI() { view.backgroundColor = .systemBackground } } 라이트모드 다크모드 이렇게 디바이스 디스플레이 모드가 라이트 모드일때 검정색, 다크모드일때 흰색으로 보인다. 단, Info.plist로 statusBarStyle 관련 설정을 해주지 않았을때.. 그리고 여기서 현재 statusBarStyle을 커스텀 지..

iOS 2021. 11. 18. 02:27
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 에피큐어
  • private repository
  • 에피쿠로스
  • 읏샷샤 화이팅 앗샷샤 화이팅
  • iPad
  • bitbucket
  • SplitViewController
  • Android
  • Localizable
  • split view controller
  • 프론트엔드 공부
  • strings.xml
  • UISplitViewController
  • watchKit
  • iOS App Life Cycle
  • watchOS
  • statusBarStyle
  • opentutorial
  • 냉철
  • ios
  • StatusBar
  • 생활코딩
  • 스토아학파
  • 클론코딩
  • iPadOS
  • lldb
  • watchOS life cycle
  • 철학의 역사
  • Xcode
  • spm
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바