Powered by Appetize.io.
Selected as a Control of the Week
This category applies Aspect Fill content mode to an image and if faces are detected it centers them instead of centring the image just by its geometrical center.
INSTALLATION: FaceAwareFill is available through CocoaPods, to install it simply add the following line to your Podfile: pod "FaceAwareFill"
USAGE: Import the category to your .m file or to your "prefix" file.
Then AFTER setting the image property of a UIImageView do: