Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 应为说明符限定符列表错误_Iphone_Objective C_Ios4_Iphone Sdk 3.0 - Fatal编程技术网

Iphone 应为说明符限定符列表错误

Iphone 应为说明符限定符列表错误,iphone,objective-c,ios4,iphone-sdk-3.0,Iphone,Objective C,Ios4,Iphone Sdk 3.0,嘿,伙计们,我知道这个问题是由于缺少导入头造成的 但在我的例子中,我已经包括了标题,但我仍然得到了错误?!会发生什么 #import <Foundation/Foundation.h> #import "WikitudeARCustomMenuButtonDelegate.h" #import "DetailedARViewController.h" @interface CustomMenuButtonDelegateImpl1 : NSObject <WikitudeAR

嘿,伙计们,我知道这个问题是由于缺少导入头造成的

但在我的例子中,我已经包括了标题,但我仍然得到了错误?!会发生什么

#import <Foundation/Foundation.h>
#import "WikitudeARCustomMenuButtonDelegate.h"
#import "DetailedARViewController.h"

@interface CustomMenuButtonDelegateImpl1 : NSObject <WikitudeARCustomMenuButtonDelegate> 
{
    DetailedARViewController *ARViewController;

}


@end
#导入

#导入“wikitudearcustommenubuttonelegate.h” #导入“DetailedARViewController.h” @接口CustomMenuButtonElegateImpl1:NSObject { DetailedARViewController*ARViewController; } @结束
确保“DetailedARViewController.h”确实定义了
DetailedARViewController
;特别是,检查拼写错误或声明被意外注释掉等细微错误。

WikitudearCustomMenuButtoneLegate.h和DetailedARViewController.h的内容是什么?WikitudearCustomMenuButtoneLegate.h是协议。DetailedARViewController.h是我自己的类。