250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- html5
- iOS 개발자
- 자바스크립트
- ipad
- 프론트엔드
- hover
- CSS
- HTML
- 백엔드
- css3
- 비전공 개발자
- 애니메이션
- Animation
- 풀스택
- front-end
- SWIFT
- iPhone
- IOS
- xcode
- php
- MAC
- keyframes
- button
- javascript
- react
- 개발자
- jQuery
- image
- effect
- 비전공자
Archives
- Today
- Total
비전공자 개발일기
SafeArea Color Control 본문
728x90
SMALL
https://github.com/WallabyStuff/SafeAreaBrush
GitHub - WallabyStuff/SafeAreaBrush
Contribute to WallabyStuff/SafeAreaBrush development by creating an account on GitHub.
github.com
1. pod init -> podFile -> pod 'SafeAreaBrush' 입력 후 저장 -> pod install
import UIKit
import SafeAreaBrush
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
fillSafeArea(position: .top, color: UIColor(red: 34 / 255, green: 34 / 255, blue: 34 / 255, alpha: 1.0))
}
}

728x90
LIST
'SWIFT' 카테고리의 다른 글
| Swift WKWebView Debugging with Safari (0) | 2023.03.09 |
|---|---|
| WKWebView URL Query & Header Setting (0) | 2023.03.07 |
| WKWebView Reload Code (0) | 2023.03.04 |
| Swift Image Upload to Server(PHP) (0) | 2023.03.03 |
| UIImagePickerControllerDelegate, UINavigationControllerDelegate (0) | 2023.03.02 |