Version 3.1.3 if its relevant.
There is this suggestion which may work now, but in the future?
NSString *device = [UIDevice currentDevice].model;
if([device isEqualToString:@"iPhone"])
Search for Infrared Lights Using Your iPhone's Camera Certain spy cameras rely on infrared lights, which are normally invisible to the human eye. However, the camera on your iPhone can detect this. In order to be sure, point the camera at a known source of infrared light – a TV remote is one.
If your iPhone backs everything up to your iCloud account, then someone can spy on your activity by accessing your iCloud account from any web browser. They would need your Apple ID username and password in order to do this, so if you know that a third party has that information, there are a few steps you should take.
Open the Photos app on your iPhone and select a picture with a clearly defined subject, such as a flower or animal. Check the info ("i") icon at the bottom of the screen. If it has a little star over it, tap it – this indicates there's a Visual Lookup you can examine.
Click Settings, the app name, Privacy, Enable the camera, then close the app and try again.
#define SOURCETYPE UIImagePickerControllerSourceTypeCamera
// does the device have a camera?
if ([UIImagePickerController isSourceTypeAvailable:SOURCETYPE]) {
// if so, does that camera support video?
NSArray *mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:SOURCETYPE];
bool isA3GS = [mediaTypes containsObject:(NSString*)kUTTypeMovie];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With