Post

Replies

Boosts

Views

Activity

App crashes when transitioning from Background to Foreground
Hi there, my App crashes when transitioning from Background to Foreground (not immediately, but after being on background for a long period - over 1 hour). Logs show some Jetsam event and I believe there is some memory issues. This is what I have allocated for Memory. #if TARGET_OS_MACCATALYST     _urlCache = [[NSURLCache alloc] initWithMemoryCapacity:1024*1024*1024                                               diskCapacity:1024*1024*1024                                               directoryURL:[NSURL URLWithString:kImageDirectory]]; #else     _urlCache = [[NSURLCache alloc] **initWithMemoryCapacity:1024*1024*1024                                               diskCapacity:1024*1024*1024**                                                   diskPath:kImageDirectory]; #endif
2
0
1k
Apr ’21