I have a very interesting issue. I used this on a dummy application and I am able to make this portrait effect. The magic happened is when I pasted the exact code into the company application with all the properties like "Camera — Opt in for Portrait Effect", "Camera — Opt in for Reaction Effects" to YES but it is not working there.
In the above video by apple it clearly states that frame rate should be below 30fps as well as max resolution 1920 X 1440. I did made this all but still it isn't showing up on the company app. I even tried to see if the effect is support or not print("supports portraits : \(videoDevice.activeFormat.isPortraitEffectSupported)") and this prints out true.
Even tried AVCaptureDevice.showSystemUserInterface(.videoEffects) to see what is happening and it shows without portraits effects even when it is toggled on.
Post
Replies
Boosts
Views
Activity
Thank you so much for prompt feedback. I accidentally came across this and I saw this is still in beta, also only have supports from iOS 18.
if possible I would like to know if there is any other alternatives for this problem.