ios8之后UIImage报错Expected a type

这个是由于把这些类独立放到UIKit中了

swift解法:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
@import UIKit;
@import UIKit;
@import UIKit;

OC的话

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>

 

Leave a Reply

Your email address will not be published. Required fields are marked *