编译基本类型错误,要加prefix文件

error: cannot find interface declaration for 'UIView', superclass of 'TestmageView'

error: cannot find interface declaration for 'UIScrollView', superclass of 'TestmageView'

 

要在工程文件中加prefix文件,文件名为:工程名_Prefix.pch,内容如下

#import <UIKit/UIKit.h>

#import <Foundation/Foundation.h>

 

 

 

http://iphonedevsdk.com/forum/iphone-sdk-development/48864-static-library-cannot-find-interface-declaration-for-uiview.html

posted @ 2015-06-05 18:07  appleice  阅读(227)  评论(0编辑  收藏  举报