남은 기기 용량을 알아야 할 일이 생겨서 찾아봤더니.. 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
- FLUTTER
- IOS
- Accessibility
- UIBezierPath
- 피아노
- swift3
- ios 13
- 스위프트 문법
- np-complete
- np-hard
- actor
- WKWebView
- Combine
- swift tutorial
- 제이슨 파싱
- WidgetKit
- swift 공부
- SwiftUI
- github
- 스위프트
- 회고
- Xcode
- iOS delegate
- Swift
- swift delegate
- WWDC
- swift array
- swift sort
- Git
- fastlane
글 보관함
- Total
- Today
- Yesterday