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 | 29 | 30 | 31 |
Tags
- Animation
- 개발자
- php
- image
- front-end
- 자바스크립트
- 백엔드
- CSS
- 비전공자
- html5
- HTML
- button
- effect
- css3
- IOS
- SWIFT
- 애니메이션
- hover
- ipad
- xcode
- react
- jQuery
- 풀스택
- javascript
- 프론트엔드
- 비전공 개발자
- MAC
- iOS 개발자
- iPhone
- keyframes
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 |