ios - How do I PREVENT my app from asking for permission to access photos? -
i'm making app records video. i'm saving video app's sandbox, , hence have no need access users photo library. don't want app ask permission ever. however, 50% of time app opens, asks permission access photos.
my best guess @ cause: using library makes easier work av foundation, , has feature buried in it's code triggering permission dialog.
what's best way make sure dialog never appears? can override setting firm no somewhere in app's plist? have root through library's code find offending feature? if so, what's best way identify culprit? what's triggering dialog?
the libraries i'm using:
diyav: https://github.com/diy/av
diycam: https://github.com/thisandagain/cam
i'm triggering recording this:
// self.cam diycam instance [self.cam startsession]; [self.cam capturevideostart];
and stopping recording this:
[self.cam capturevideostop]; [self.cam stopsession];
if want search framework , have code, should search uiimagepickercontrollersourcetypephotolibrary
or uiimagepickercontrollersourcetypesavedphotosalbum
these ones, access iphone photo library.
Comments
Post a Comment