示例#1
0
        public async override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            AddEventHandlers();

            //TODO: Just for POC
            LiveCamHelper.RegisterFaces();

            PrepareCamera();
        }
        private async void InitializeElements()
        {
            //using (var viewController = new FaceMainController())
            //NavController.ViewControllers = new UIViewController[] { viewController };
            LiveCamHelper.Init();
            await LiveCamHelper.RegisterFaces();

            using (var viewController = new FaceDetectionViewController()) {
                NavController.ViewControllers = new UIViewController[] { viewController };
            }
        }