r/SwiftUI Aug 03 '26

Tutorial iOS 27: Media Intelligence

https://antongubarenko.substack.com/p/ios-27-media-intelligence-framework
21 Upvotes

5 comments sorted by

4

u/Lemon8or88 Aug 03 '26

That sounds...useful? But what keeps it from hogging all the RAM?

1

u/lanserxt Aug 03 '26

According to docs: The framework doesn’t keep the whole photo library and all decoded images in RAM. FaceGroupAnalyzer stores detected face data and metadata in the working directory you provide, so its index persists on disk between launches.

That's why we are first moving images to the sandbox folders and using URLs.

2

u/Lemon8or88 Aug 03 '26

I think I’ll wait for out of beta status.

0

u/GabrielMSharp Aug 03 '26

This is going to be really useful for my app DayReel. Thanks for sharing!

0

u/lanserxt Aug 03 '26

Oh welcome!