일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- git
- 애플
- SSH
- fido
- otpkey
- apple
- appres
- Android
- 앱스토어
- MYSQL
- 안드로이드
- css
- MFA
- MSYS2
- Xcode
- SwiftUI
- openssl
- OTP
- 앨범북
- Nodejs
- 앱리소스
- albumbook
- SWIFT
- OSX
- 2FA
- WebAuthn
- SSL
- kmip
- 인증
- FIDO2
Archives
- Today
- Total
인디노트
UIImageView setImageWithURL 에 대한 clear cache 본문
소스 팁/Objective C, Swift, iOS, macOS
UIImageView setImageWithURL 에 대한 clear cache
인디개발자 2017. 8. 24. 10:52- (void)clearImageCache
{
[[NSURLCache sharedURLCache] removeAllCachedResponses];
[[AFImageDownloader defaultURLCache] removeAllCachedResponses];
[[[AFImageDownloader defaultInstance] imageCache] removeAllImages];
AFAutoPurgingImageCache *imageCache = [[AFAutoPurgingImageCache alloc] init];
[imageCache removeAllImages];
}
'소스 팁 > Objective C, Swift, iOS, macOS' 카테고리의 다른 글
iOS PhotoKit - 카메라 롤과 일반 앨범 (0) | 2017.12.31 |
---|---|
xcode 에서 앱스토어 앱 업로드 실패할 경우 대처 (0) | 2017.08.24 |
iOS - UIView 애니메이션 효과 (0) | 2017.07.10 |
xcode 의 시스템 변수 값 (0) | 2017.06.06 |
[iOS] NSMutableDictionary 상속, "method only defined for abstract class" (0) | 2017.04.04 |
Comments