Automatically measure screen time on a view controller.