AspectFillFaceAware is an open source component from Beau Nouvelle providing an extension to UIImageView that automatically adjusts the position of the image based on faces found.
AspectFillFaceAware allows you to adjust your images to fit within a view like using Aspect Fill, but automatically centers the image based upon the faces within.
This image from the readme shows the effect of AspectFillFaceAware:
You can find AspectFillFaceAware on Github here.
A great component for displaying faces.
Original article: AspectFillFaceAware – Image View Component That Centers Image Based On Faces Found
©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.
Reference source: iOS App Dev Libraries, Controls, Tutorials, Examples and Tools