Followed this custom camera view avcamerasession tutorial: