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
- 한글
- 개발자
- Apple
- 웹뷰
- Code
- Realm
- stack
- Swift
- Xcode
- JPA
- Git
- Python
- UIButton
- Firebase
- Archive
- error
- FLUTTER
- Notification
- github
- darkmode
- rxswift
- mac
- SwiftUI
- view
- iOS16
- IOS
- Session
- appstore
- window
- MacOS
Archives
- Today
- Total
목록freesize (1)
EEYatHo 앱 깎는 이야기
Swift ) 디바이스 여유공간 구하기 - EEYatHo iOS
다비이스의 여유 저장공간을 단위까지 변환해서 구하는 함수 /// 여유공간 구하기 func getFreeSizeAsString() -> String { let documentDirectoryPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true) var freeSize: NSNumber? // Byte단위 do { let attributes = try FileManager.default.attributesOfFileSystem(forPath: documentDirectoryPath.last! as String) freeSize = attributes[FileAttributeKey.systemFreeSize] a..
iOS, Swift/Feature
2021. 7. 21. 17:36