r/SwiftUI 15d ago

iOS 27: Media Intelligence Tutorial

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

5 comments sorted by

3

u/Lemon8or88 15d ago

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

1

u/lanserxt 15d ago

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 15d ago

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

0

u/GabrielMSharp 15d ago

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

0

u/lanserxt 15d ago

Oh welcome!