Hide/Show iPhone Camera Iris/Shutter animation

后端 未结 7 986
执笔经年
执笔经年 2020-12-05 06:00

I am not able to Hide the iphone Camera shutter opening animation for my app. I am using UIImagePickerController to access iphone camera and using my own overlay controllers

7条回答
  •  囚心锁ツ
    2020-12-05 06:32

    To expound on Catalin's answer, (which was great btw), I found if you change the method "animateIrisOpen" slightly, the presentation is a fraction better... but noticeable.

    - (void) animateIrisOpen {
        if (iris_) {
            iris_.hidden = NO;
            [iris_ performSelector:kIrisSelector];
        }
    }
    

提交回复
热议问题