Home > OS >  How to enable the Portrait Effect in live camera view similar to SnapChat?
How to enable the Portrait Effect in live camera view similar to SnapChat?

Time:06-03

I have a camera view based on AVFoundation. Any idea how I can switch to Portrait Effect in iOS's Control Center like SnapChat?

enter image description here

CodePudding user response:

You need to opt-in your app by adding an Info.plist key called NSCameraPortraitEffectEnabled, with boolean type set to YES.

  • Related