남은 기기 용량을 알아야 할 일이 생겨서 찾아봤더니.. func deviceRemainingFreeSpaceInBytes() -> Int64? { let documentDirectory = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! guard let systemAttributes = try? FileManager.default.attributesOfFileSystem(forPath: documentDirectory), let freeSize = systemAttributes[FileAttributeKey.systemFreeSize] as? NSNumber else { // something fai..
iOS
2023. 11. 13. 11:14
TAG
- Combine
- iOS delegate
- SwiftUI
- swift array
- Xcode
- actor
- np-hard
- 회고
- swift3
- 피아노
- UIBezierPath
- IOS
- swift 공부
- np-complete
- Git
- fastlane
- Accessibility
- 스위프트 문법
- Swift
- 스위프트
- FLUTTER
- ios 13
- github
- WidgetKit
- WWDC
- swift tutorial
- WKWebView
- swift sort
- 제이슨 파싱
- swift delegate
글 보관함
- Total
- Today
- Yesterday