3 ms·
Unless I'm mistaking, an API that let's an app take pictures without the display betraying what's going on doesn't even exist. I don't even think any API exists
by tjogin 16y ago
Unless I'm mistaking, an API that let's an app take pictures without the display betraying what's going on doesn't even exist. I don't even think any API exists to take pictures — that doesn't involve the touch of a finger on the display.
Can't explain it though.
- bunnyhero 16y agoIn iOS 4, such APIs do exist. I blogged briefly about it here http://www.bunnyhero.org/2010/08/17/thoughts-on-ios4-camera/ http://www.bunnyhero.org/2010/08/17/thoughts-on-ios4-camera/ (I used the API for a test app that uses the front camera to detect how much light is shining on the iPhone http://www.bunnyhero.org/2010/08/15/turn-your-iphone-into-a-vampire-with-avfoundation-and-ios-4/ http://www.bunnyhero.org/2010/08/15/turn-your-iphone-into-a-... )
- magicofpi 16y agoBut why would Facetime be using this? It seems unnecessary.
- diploid 16y agoThe theory is not that Facetime is using this API but that another malicious app is using it to take pics without the user consent. Then Facetime is loading those pics on startup because they were the last pic taken with the phone.
- weaksauce 16y agoYes, there is an api to take a picture without pressing the screen. It's called -(void) takePicture and it's part of the uiimagepickercontroller class. http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/doc/uid/TP40007070 http://developer.apple.com/library/ios/#documentation/UIKit/...