startMonitoring()
Begins monitoring the device’s active scene and making framing recommendations.
Declaration
func startMonitoring() throwsMentioned in
Discussion
The monitor’s recommendedFraming is nil when it is not actively running. Call this method to start monitoring. You may start monitoring before or after calling startRunning(), and you may stop active monitoring without stopping the capture session by calling stopMonitoring() at any time, but you must set enabledFramings before running your capture session so that the monitor is prepared for your desired framing recommendations. While the monitor is running, you may set enabledFramings at any time to change the framing choices the monitor should consider in its recommendations.