отлично спасибо
ел бы знать, как включить вспышку камеры на iPhone 4 с помощью UIImagePickerController.
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerCameraDeviceFront] == YES)
{
/// What code here ///
}
else
{
NoFlash = [[UIAlertView alloc] initWithTitle:@"Uh-Oh"
message:@"Your device doesn't have a flash camera"
delegate:nil
cancelButtonTitle:@"mhmm, OK"
otherButtonTitles:nil];
NoFlash.delegate = self;
[NoFlash show];
[NoFlash release];
}
}
Я уже прочитал веб-страницу UIImagePickerController Class Reference здесь:http://bit.ly/cdAhhB но я не нашел ответа. Может кто-нибудь, пожалуйста, помогите мне?
Спасибо