What is the code to turn the iphone 4 camera flash on?
Also what does this error mean
error: expected specifier-qualifier-list before '@' token
Also what does this error mean
error: expected specifier-qualifier-list before '@' token
This usually means you have some kind of syntax error in the code prior to this error. Care to provide some code?Also what does this error mean
error: expected specifier-qualifier-list before '@' token
Alright, then. Let's see that one line of code.I dont have anything else written in before it, Its a fresh slate with one line of code
Did you try searching the Developer Documentation for "flash"?Anyone got the flash api?
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIImagePickerController.h>
@interface Mainview : UIResponder {
UIImagePickerControllerCameraFlashModeOn = 1
(: error: expected specifier-qualifier-list before 'UIImagePickerControllerCameraFlashModeOn')
};
typedef NSInteger UIImagePickerControllerCameraFlashMode;
@end
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIImagePickerController.h>
@interface Mainview : UIResponder {
UIImagePickerControllerCameraFlashModeOn = 1
error: expected specifier-qualifier-list before 'UIImagePickerControllerCameraFlashModeOn')
};
typedef NSInteger UIImagePickerControllerCameraFlashMode;
@end
I'm gonna suggest instead that it's time to step away from the real coding and go learn the basics of Objective-C.I'm 13 and i'm just starting out. What would i type instead?
I'm gonna suggest instead that it's time to step away from the real coding and go learn the basics of Objective-C.
I'm 13 and i'm just starting out. What would i type instead? Thanks for all the help
Well imma go reading up. I was trying to turn the flash on