Maintained by .
This category applies Aspect Fill content mode to an image and if faces are detected it centers them instead of centering the image just by its geometrical center.
Based on this awesome post by @maniacdev
Import the category to your .m file or to your "prefix" file.
Then AFTER setting the image property of a UIImageView do:
Julio Andrés Carretttoni, @dev_jac
FaceAwareFill is available under the MIT license. See the LICENSE file for more info.