I know "A green indicator means either the camera or the camera and the microphone are being used by an app on your iPhone." I already dismissed the UIImagePickerController instance. I want to remove the green dot. but i don't know how. Any help will be greatly appreciated.
Asked
Active
Viewed 239 times
-1
-
Show the code. Seems like it is retained. – Mojtaba Hosseini May 14 '21 at 11:41
-
@MojtabaHosseini Thank you for your answer. But it is't retained. The UIImagePickController is dealloced. – littlebear333 May 15 '21 at 02:05
1 Answers
0
Now I know the reason. I use the runtime to record the VC. In the 'viewWillAppear' method, I add it to an array. In the 'viewWillDisappear', I remove it from the array. But CAMImagePickerCameraViewController doesn't call the viewWillDisappear method when dismissing. So.......

littlebear333
- 710
- 2
- 6
- 14