我确信这是一个非常愚蠢的问题,但我在互联网上的任何地方都找不到它,或者可能看起来错了。
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController <UIImagePickerControllerDelegate, UINavigationControllerDelegate>
{
//how do i fit this code--> idUIAccelerometerDelegate
//into the interface where it is the only place it can work?
IBOutlet UIImageView *imageView;
UIImage *image;
UIImagePickerController *imagePicker;
UIImagePickerController *imagePicker2;
//the code above is already linked with the @interface at the top thingy.
//but now i also want to link the @accelerometer but it won't let me without any errors.
float valueX;
float valueY;
}
@property (nanotomic,strong) IBOutlet UIButton *snow;
-(void)awakeAccelerometer;
-(void)acc
- (IBAction)takePhoto;
- (IBAction)chooseExisting;
@end
谢谢你的帮助对不起,如果我浪费了你的时间。如果你愿意,一定要给我投反对票。