Posts

Post not yet marked as solved
2 Replies
873 Views
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
Posted
by fsaffi.
Last updated
.