일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 그래프
- charts
- PyQt5
- 라이브러리
- Android
- kotlin
- Storyboard
- Swift
- graph
- 개발자
- cocoapods
- library
- Python
- 어플리케이션
- button
- TableView
- UIKit
- 개발
- modal
- alamofire
- ios
- Xcode
- UITableView
- Chart
- ui
- Chrats
- PyQt
- Apple
- androidstudio
- UIButton
Archives
- Today
- Total
Jiwift
[iOS/Swift] UserDefaults 초기화, 리셋, 데이터 삭제 본문
반응형

for key in UserDefaults.standard.dictionaryRepresentation().keys {
UserDefaults.standard.removeObject(forKey: key.description)
}
사용을 원하는 곳에 코드를 작성
SwiftExample/UserDefatults at main · wlxo0401/SwiftExample (github.com)
GitHub - wlxo0401/SwiftExample: My study, record and share
My study, record and share. Contribute to wlxo0401/SwiftExample development by creating an account on GitHub.
github.com
반응형