Post

Replies

Boosts

Views

Activity

Picked asset files in system folder not cleaned yet after backup?
After backup my iPad (iOS 15 beta.8) through Finder (or iTunes on Windows), I could browse the backup folder using tools like 'iMazing'. And I found there are remaining asset files in this folder 「AppDomainGroup-group.com.apple.mobileslideshow.PhotosFileProvider\File Provider Storage\photospicker」which are picked by PHPickerViewController. I wondered why they were not cleaned by system and how long they will be kept? Thanks for your reading and looking forward the answers!
1
0
1.8k
Sep ’21
iOS 15 URLSessionManager didReceiveChallenge() issue
There are two delegate methods used to process ssl challenge. The session level (URLSession:didReceiveChallenge:completionHandler:) and the session task level (URLSession:task:didReceiveChallenge:completionHandler:) If we used URLSession with background configuration to start a uploadTask, the session level didReceiveChallenge() will be called on iOS 13 and 14. (or earlier) (uploadTask(with:fromFile:)) But on iOS 15, it's the session task level didReceiveChallenge() delegate method be called. I wonder why the behavior had changed on iOS 15? Thanks for reply!
2
0
864
Sep ’21
State restoration for UIViewControllerRepresentable
I'm trying to implement state restoration for my app which includes UIKit and SwiftUI codes. My SwiftUI Views could be preserved while entering background and restored after app start, but the UIViewControllerRepresentable view inside SwiftUI View can only be initialized but not preserved and restored through UIViewController's encodeRestorableState(with:) and decodeRestorableState(with:). Is there any way to make it work? Thanks for any help~
0
0
271
Jun ’22